Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
change hrtime to be in resolution of milliseconds
  • Loading branch information
Ryan Phillips committed May 2, 2012
1 parent a89ad50 commit d6af606
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/luv_misc.c
Expand Up @@ -234,7 +234,7 @@ int luv_now(lua_State* L) {
}

int luv_hrtime(lua_State* L) {
int64_t now = uv_hrtime();
double now = (double) uv_hrtime() / 1000000.0;
lua_pushinteger(L, now);
return 1;
}
Expand Down

0 comments on commit d6af606

Please sign in to comment.