View | Details | Raw Unified | Return to bug 49199
Collapse All | Expand All

(-)beanstalkd/ct/ct.c.orig (-2 / +2 lines)
Lines 13-18 Link Here
13
#include <dirent.h>
13
#include <dirent.h>
14
#include <errno.h>
14
#include <errno.h>
15
#include <sys/time.h>
15
#include <sys/time.h>
16
#include <time.h>
16
#include <stdint.h>
17
#include <stdint.h>
17
#include <inttypes.h>
18
#include <inttypes.h>
18
#include "internal.h"
19
#include "internal.h"
19
20
20
21
21
22
#ifdef __MACH__
22
#ifdef __MACH__
23
#	include <mach/mach_time.h>
23
#	include <mach/mach_time.h>
24
24
Lines 441-447 Link Here
441
        runbenchn(b, n);
441
        runbenchn(b, n);
442
    }
442
    }
443
    if (b->status == 0) {
443
    if (b->status == 0) {
444
        printf("%8d\t%10" PRId64 " ns/op", n, b->dur/n);
444
        printf("%8d\t%10"PRId64" ns/op", n, b->dur/n);
445
        if (b->bytes > 0) {
445
        if (b->bytes > 0) {
446
            double mbs = 0;
446
            double mbs = 0;
447
            if (b->dur > 0) {
447
            if (b->dur > 0) {

Return to bug 49199