Commit b5d05afc authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

port perfnotes to windows. addresses #1246

git-svn-id: file:///svn/toku/tokudb.1032b@8054 c7de825b-a66e-492c-adef-691d508d4ae1
parent b3d35f74
#include <stdio.h>
#include <assert.h>
#include <toku_time.h>
int main(void) {
int r;
struct timeval tv;
struct timezone tz;
r = gettimeofday(&tv, 0);
assert(r == 0);
return 0;
}
#ifndef TOKU_TIME_H
#define TOKU_TIME_H
#include <windows.h>
#include <time.h>
#ifdef __cplusplus
extern "C" {
#endif
struct timezone {
int tz_minuteswest;
int tz_dsttime;
};
int gettimeofday(struct timeval *tv, struct timezone *tz);
#ifdef __cplusplus
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment