mirror of
https://github.com/neovim/neovim.git
synced 2025-12-07 23:22:39 +00:00
viml/profile: revert gettimeofday() #10488
e2ce5ff9d6 was proven to be bogus, so revert it.
close #10328
ref #10356
ref #10452
This commit is contained in:
@@ -16563,7 +16563,7 @@ static void f_reltimefloat(typval_T *argvars , typval_T *rettv, FunPtr fptr)
|
||||
rettv->v_type = VAR_FLOAT;
|
||||
rettv->vval.v_float = 0;
|
||||
if (list2proftime(&argvars[0], &tm) == OK) {
|
||||
rettv->vval.v_float = ((float_T)tm) / 1000000;
|
||||
rettv->vval.v_float = ((float_T)tm) / 1000000000;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user