![]() |
http://www.sim.no/ http://www.coin3d.org/ |
Convenience report generator functionality. More...
#include <Profiler/tools/SoProfilingReportGenerator.h>
Static Public Member Functions | |
static void | init (void) |
static SbProfilingReportSortCriteria * | getReportSortCriteria (SortOrder order,...) |
static SbProfilingReportSortCriteria * | getDefaultReportSortCriteria (DataCategorization category) |
static SbProfilingReportPrintCriteria * | getReportPrintCriteria (Column col,...) |
static SbProfilingReportPrintCriteria * | getDefaultReportPrintCriteria (DataCategorization category) |
static void | freeCriteria (SbProfilingReportSortCriteria *criteria) |
static void | freeCriteria (SbProfilingReportPrintCriteria *criteria) |
static void | generate (const SbProfilingData &data, DataCategorization categorization, SbProfilingReportSortCriteria *sort, SbProfilingReportPrintCriteria *print, int count, SbBool addheader, ReportCB *reportcallback, void *userdata) |
static CallbackResponse | stdoutCB (void *userdata, int entrynum, const char *text) |
static CallbackResponse | stderrCB (void *userdata, int entrynum, const char *text) |
Convenience report generator functionality.
With this static class, you can conveniently produce a profiling data report from an SbProfilingData object.
|
static |
Allocate mutexes and other such infrastructure constructs needed by the report generator.
|
static |
Returns a sorting criteria setting object that will make generate() sort the results based on the given argument list in that left-to-right priority order.
Always end the argument list with TERMINATE_ARGLIST.
|
static |
Returns a sensible default that can be used for a given profiling data categorization.
|
static |
Returns a printing criteria setting object that will make generate() send a formatted string as the text argument based on the given argument list. If you force TERMINATE_ARGLIST into the first argument, the text string will be empty.
Always end the argument list with TERMINATE_ARGLIST.
|
static |
Returns a default printing criteria object that can be used sensibly with the given profiling data categorization.
|
static |
Generate a sorted, formatted report, by calling a callback until the number of entries are exhausted or the callback returns STOP.
|
static |
Ready-made callback that can be used with generate() to print to stdout.
|
static |
Ready-made callback that can be used with generate() to print to stderr.
Copyright © 1998-2010 by Kongsberg Oil & Gas Technologies. All rights reserved.
Generated on Fri Sep 9 2016 for Coin by Doxygen 1.8.5.