mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-06-07 15:13:28 +00:00
Merge pull request #592 from Dmitry-Me/clarifyTestOutput
Clarify and simplify test output
This commit is contained in:
commit
8d1bfbbf7c
@ -2112,10 +2112,11 @@ int main( int argc, const char ** argv )
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined( _MSC_VER )
|
#if defined( _MSC_VER )
|
||||||
printf("\nParsing %s of dream.xml: %.3f milli-seconds\n", note, 1000.0 * (double)(end - start) / ((double)freq * (double)COUNT));
|
const double duration = 1000.0 * (double)(end - start) / ((double)freq * (double)COUNT);
|
||||||
#else
|
#else
|
||||||
printf("\nParsing %s of dream.xml: %.3f milli-seconds\n", note, (double)(cend - cstart) / (double)COUNT);
|
const double duration = (double)(cend - cstart) / (double)COUNT;
|
||||||
#endif
|
#endif
|
||||||
|
printf("\nParsing dream.xml (%s): %.3f milli-seconds\n", note, duration);
|
||||||
}
|
}
|
||||||
|
|
||||||
#if defined( _MSC_VER ) && defined( DEBUG )
|
#if defined( _MSC_VER ) && defined( DEBUG )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user