@@ -56,18 +56,17 @@ void* hmr(void *);
5656
5757void print_usage (char * invoc ) {
5858 fprintf (stderr ,
59- "Usage: %s\n\t[-t threads]\n\t[-a acquires per thread]\n\t"
59+ "Usage: %s\n\t[-t <#> threads]\n\t[-a <#> acquires per thread]\n\t"
6060 "[-c <#>[ns | in] critical iterations measured in ns or (in)structions, "
6161 "if no suffix, assumes instructions]\n\t"
6262 "[-p <#>[ns | in] parallelizable iterations measured in ns or (in)structions, "
6363 "if no suffix, assumes (in)structions]\n\t"
64- "[-s safe-mode operation for running as non-root\n\t"
65- "[-i interleave value for thread pinning order, for example, 1 means "
66- "sequential increasing, 2 means pinning hyperthread of the same core first "
67- "before the next core.]\n\t"
68- "[-o arbitrary core pinning order separated by comma without space, command "
69- "lstopo can be used to deduce the correct order.]\n\t"
70- "[-- <test specific arguments>]\n" , invoc );
64+ "[-s safe-mode operation for running as non-root by reducing priority]\n\t"
65+ "[-i <#> interleave value for SMT pinning, e.g. 1: core pinning / no SMT, "
66+ "2: 2-way SMT pinning, 4: 4-way SMT pinning, may not work for multisocket]\n\t"
67+ "[-o <#:#:#:#> arbitrary pinning order separated by colon without space, "
68+ "command lstopo can be used to deduce the correct order]\n\t"
69+ "[-- <more workload specific arguments>]\n" , invoc );
7170}
7271
7372int main (int argc , char * * argv )
0 commit comments