Esempio n. 1
0
void annotate( Node &root, const PerformanceMonitor &monitor, PerformanceMetric metric )
{
	dispatchMetric<Annotate>( Annotate( root, monitor.allStatistics() ), metric );
}
Esempio n. 2
0
std::string formatStatistics( const PerformanceMonitor &monitor, PerformanceMetric metric, size_t maxLines )
{
	return dispatchMetric<FormatStatistics>( FormatStatistics( monitor.allStatistics(), maxLines ), metric );
}