Home | History | Annotate | Download | only in tune

Lines Matching refs:routine

34    To add a new routine foo(), create a speed_foo() function in the style of
35 the existing ones and add an entry in the routine[] array. Put FLAG_R if
145 } routine[] = {
688 if there's more than one routine. */
1025 for (i = 0; i < numberof (routine); i++)
1027 nlen = strlen (routine[i].name);
1028 if (memcmp (s, routine[i].name, nlen) != 0)
1035 if (! (routine[i].flag & (FLAG_R|FLAG_R_OPTIONAL)))
1043 c->p = &routine[i];
1052 if (routine[i].flag & FLAG_R)
1060 c->p = &routine[i];
1078 printf ("Usage: speed [-options] -s size <routine>...\n");
1082 printf (" -p num set precision as number of time units each routine must run\n");
1087 printf (" -r show times as ratios of the first routine\n");
1088 printf (" -d show times as difference from the first routine\n");
1107 printf ("when viewing more than one routine, it means same axis scales for all data).\n");
1112 for (i = 0; i < numberof (routine); i++)
1114 if (routine[i].flag & FLAG_R)
1115 printf ("\t%s.r\n", routine[i].name);
1116 else if (routine[i].flag & FLAG_R_OPTIONAL)
1117 printf ("\t%s (optional .r)\n", routine[i].name);
1119 printf ("\t%s\n", routine[i].name);
1128 printf ("Times for sizes out of the range accepted by a routine are shown as 0.\n");
1129 printf ("The fastest routine at each size is marked with a # (free form output only).\n");
1336 fprintf (stderr, "WARNING, -d or -r does nothing when only one routine requested\n");