Rev | Line | |
---|
[7010] | 1 | /* $Id: perfview.h,v 1.1 2001-10-11 00:59:59 phaller Exp $ */
|
---|
| 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
|
---|
| 20 |
|
---|
| 21 |
|
---|
| 22 | // register a call to a function
|
---|
| 23 | void _Optlink PerfView_RegisterCall(char* pszFunctionName,
|
---|
| 24 | unsigned long int nTicks);
|
---|
| 25 |
|
---|
| 26 | // dump the collected profile to the specified file
|
---|
| 27 | void _Optlink PerfView_DumpProfile(FILE *file);
|
---|
| 28 |
|
---|
| 29 | // write the standard performance profile logfile
|
---|
| 30 | void _Optlink PerfView_Write();
|
---|
| 31 |
|
---|
| 32 |
|
---|
| 33 | #ifdef __cplusplus
|
---|
| 34 | }
|
---|
| 35 | #endif
|
---|
| 36 |
|
---|
| 37 | #endif /* _PERFVIEW_H_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.