The Measure.h header file in the DirectShow base classes provides macros that help record performance data by maintaining a circular log of the start and stop times of certain events.
| Macro | Description |
| MSR_START | Records the start time of the event. |
| MSR_STOP | Records the stop time of the event. |
Records the start time of the event with the given registered ID by adding the start time to the circular log and recording the time in StatBuffer.
#define MSR_START(
int Id
)
This macro does not update the statistical information. That happens when MSR_STOP is called.
Records the stop time of the event with the given registered ID by adding the stop time to the circular log, and adding a StopTime-StartTime entry to the statistical record StatBuffer.
#define MSR_STOP(
int Id
)
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.