MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / PrintExtraVersionInfo

Function PrintExtraVersionInfo

benchmarks/tbb/tbb_misc.cpp:176–185  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174}
175
176void PrintExtraVersionInfo( const char* category, const char* format, ... ) {
177 if( PrintVersionFlag ) {
178 char str[1024]; memset(str, 0, 1024);
179 va_list args; va_start(args, format);
180 // Note: correct vsnprintf definition obtained from tbb_assert_impl.h
181 vsnprintf( str, 1024-1, format, args);
182 va_end(args);
183 fprintf(stderr, "TBB: %s\t%s\n", category, str );
184 }
185}
186
187void PrintRMLVersionInfo( void* arg, const char* server_info ) {
188 PrintExtraVersionInfo( server_info, (const char *)arg );

Callers 5

PrintRMLVersionInfoFunction · 0.85
DoOneTimeInitializationsFunction · 0.85
print_version_infoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected