| Rev | Line |  | 
|---|
| [7025] | 1 | /* $Id: perfview.h,v 1.2 2001-10-12 00:49:51 phaller Exp $ */ | 
|---|
| [7010] | 2 |  | 
|---|
|  | 3 | /* | 
|---|
|  | 4 | * Project Odin Software License can be found in LICENSE.TXT | 
|---|
|  | 5 | * | 
|---|
|  | 6 | * Win32 performance measurement and self-profiling API functions | 
|---|
|  | 7 | * | 
|---|
|  | 8 | * Copyright 2001 Patrick Haller <patrick.haller@innotek.de> | 
|---|
|  | 9 | */ | 
|---|
|  | 10 |  | 
|---|
|  | 11 |  | 
|---|
|  | 12 | #ifndef _PERFVIEW_H_ | 
|---|
|  | 13 | #define _PERFVIEW_H_ | 
|---|
|  | 14 |  | 
|---|
|  | 15 | #include <stdio.h> | 
|---|
|  | 16 |  | 
|---|
|  | 17 | #ifdef __cplusplus | 
|---|
|  | 18 | extern "C" { | 
|---|
|  | 19 | #endif | 
|---|
| [7025] | 20 |  | 
|---|
|  | 21 |  | 
|---|
|  | 22 | // calibrate the subsystem | 
|---|
|  | 23 | void _Optlink PerfView_Initialize(void); | 
|---|
| [7010] | 24 |  | 
|---|
|  | 25 | // register a call to a function | 
|---|
|  | 26 | void _Optlink PerfView_RegisterCall(char* pszFunctionName, | 
|---|
|  | 27 | unsigned long int nTicks); | 
|---|
|  | 28 |  | 
|---|
|  | 29 | // dump the collected profile to the specified file | 
|---|
|  | 30 | void _Optlink PerfView_DumpProfile(FILE *file); | 
|---|
|  | 31 |  | 
|---|
|  | 32 | // write the standard performance profile logfile | 
|---|
|  | 33 | void _Optlink PerfView_Write(); | 
|---|
|  | 34 |  | 
|---|
|  | 35 |  | 
|---|
|  | 36 | #ifdef __cplusplus | 
|---|
|  | 37 | } | 
|---|
|  | 38 | #endif | 
|---|
|  | 39 |  | 
|---|
|  | 40 | #endif /* _PERFVIEW_H_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.