Lines Matching refs:ns
35 static int64 ns;
45 ns += nsec() - t0;
69 ns = 0;
80 ns += nsec() - t0;
105 while(ns < (int)1e9 && n < (int)1e9) {
107 if(ns/n == 0)
110 n = 1e9 / (ns/n);
121 if(ns > 0 && bytes > 0)
122 snprintf(mb, sizeof mb, "\t%7.2f MB/s", ((double)bytes/1e6)/((double)ns/1e9));
131 printf("%s%s\t%8lld\t%10lld ns/op%s\n", b->name, suf, (long long)n, (long long)ns/n, mb);