Visual C++
#include <windows.h>
#include <stdio.h>
#include "pure.h"
...
void main()
{
QuantifyAddAnnotation ("This performance data reflects the restructuring that I suggested on 8/15. Note especially the dramatic improvement for the function strlen.");
}
Visual Basic
Dim Annotation As String
Dim status As Integer
...
If QuantifyIsRunning() = 1 Then
Annotation = "This performance data reflects the
restructuring that I suggested on 8/15."
status = QuantifyAddAnnotation(ByVal Annotation)
End If
(C) Copyright IBM Corporation 1993, 2009.