diff options
author | José Fonseca <[email protected]> | 2008-05-24 19:25:33 +0900 |
---|---|---|
committer | José Fonseca <[email protected]> | 2008-05-24 19:25:33 +0900 |
commit | 345eb7fb70840829571cbacdb3980181df8e018a (patch) | |
tree | 329482e9c73d6dde9feb652f7577ec94cbbbd258 /src/gallium/include | |
parent | 059a652d64da470ccc7f2f3266fd64721848a7be (diff) |
gallium: Poor-man profiler for win32 kernel.
Diffstat (limited to 'src/gallium/include')
-rw-r--r-- | src/gallium/include/pipe/p_debug.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_debug.h b/src/gallium/include/pipe/p_debug.h index 1263d0da619..0af635be573 100644 --- a/src/gallium/include/pipe/p_debug.h +++ b/src/gallium/include/pipe/p_debug.h @@ -313,6 +313,17 @@ void debug_memory_end(unsigned long beginning); +#if defined(PROFILE) && defined(PIPE_SUBSYSTEM_WINDOWS_DISPLAY) + +void +debug_profile_start(void); + +void +debug_profile_stop(void); + +#endif + + #ifdef DEBUG void debug_dump_image(const char *prefix, unsigned format, unsigned cpp, |