Add a command to dump profiling output.

This commit is contained in:
Ryan Stecker
2014-08-09 13:32:05 -05:00
parent 3edd1ce658
commit 0bde28cc17
4 changed files with 36 additions and 1 deletions
+9
View File
@@ -1044,6 +1044,15 @@ namespace SourcePawn
* @param render Function to render any help messages.
*/
virtual void Stop(void (*render)(const char *fmt, ...)) = 0;
/**
* @brief Dump profiling information.
*
* Informs the profiling tool to dump any current profiling information
* it has accumulated. The format and location of the output is profiling
* tool specific.
*/
virtual void Dump() = 0;
/**
* @brief Returns whether or not the profiler is currently profiling.