Changeset 102345 in vbox for trunk/src/libs/xpcom18a4/xpcom/tests
- Timestamp:
- Nov 27, 2023 6:48:07 PM (15 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/xpcom18a4/xpcom/tests/TestAtoms.cpp
r41166 r102345 38 38 #include "nsString.h" 39 39 #include "nsReadableUtils.h" 40 #include "prprf.h"41 40 #include "prtime.h" 42 41 #include <stdio.h> 42 43 #include <iprt/string.h> 43 44 44 45 extern "C" int _CrtSetDbgFlag(int); … … 114 115 LL_SUB(dtor, end3, end2); 115 116 char buf[500]; 116 PR_snprintf(buf, sizeof(buf), "making %d ident strings took %lldms",117 count, creates);117 RTStrPrintf2(buf, sizeof(buf), "making %d ident strings took %lldms", 118 count, creates); 118 119 puts(buf); 119 PR_snprintf(buf, sizeof(buf), "%d new idents took %lldms",120 count, finds);120 RTStrPrintf2(buf, sizeof(buf), "%d new idents took %lldms", 121 count, finds); 121 122 puts(buf); 122 PR_snprintf(buf, sizeof(buf), "%d ident lookups took %lldms",123 count, lookups);123 RTStrPrintf2(buf, sizeof(buf), "%d ident lookups took %lldms", 124 count, lookups); 124 125 puts(buf); 125 PR_snprintf(buf, sizeof(buf), "dtor took %lldusec", dtor);126 RTStrPrintf2(buf, sizeof(buf), "dtor took %lldusec", dtor); 126 127 puts(buf); 127 128
Note:
See TracChangeset
for help on using the changeset viewer.