]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - latester/histogram.h
Merge branch 'master' of rtime.felk.cvut.cz:/can-benchmark
[can-benchmark.git] / latester / histogram.h
index ad7591ccccf7f1220f80d3488307ff6560da0cd5..4a9aade0bc67c793cc89d22491eca22d8a90844b 100644 (file)
@@ -40,10 +40,7 @@ void histogram_fprint(struct histogram *h, FILE *f)
        cum = sum;
        for (i = 0; i < h->allocated; i++) {
                if (h->data[i] != 0) {
-                       if (!getenv("CANPING_MS"))
-                               fprintf(f, "%d %lld\n", i*h->resolution, cum);
-                       else
-                               fprintf(f, "%g %lld\n", 1e-3*(i*h->resolution), cum);
+                       fprintf(f, "%g %lld\n", 1e-3*(i*h->resolution), cum);
                }
                cum -= h->data[i];
        }