diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2014-07-16 12:46:07 -0400 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2014-07-16 12:46:07 -0400 |
commit | 0412c17a6566a3cc5d324773abcf6e8a1ad40bc6 (patch) | |
tree | 1b8beaf1d24f394efd0b6e0322d1efbb8515cf6f /src/nvim/ex_getln.c | |
parent | e1075ffff94fe0ddc9eb90980ad798e68c090fc6 (diff) | |
parent | 6d0f9417ec2e9dec9666fa9c7a9b5b890f25d36a (diff) | |
download | rneovim-0412c17a6566a3cc5d324773abcf6e8a1ad40bc6.tar.gz rneovim-0412c17a6566a3cc5d324773abcf6e8a1ad40bc6.tar.bz2 rneovim-0412c17a6566a3cc5d324773abcf6e8a1ad40bc6.zip |
Merge pull request #839 from aktau/platform-abstract-time-fn
viml: impl profiling on top of uv_hrtime()
Diffstat (limited to 'src/nvim/ex_getln.c')
-rw-r--r-- | src/nvim/ex_getln.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ex_getln.c b/src/nvim/ex_getln.c index e8e2f61679..67748fa164 100644 --- a/src/nvim/ex_getln.c +++ b/src/nvim/ex_getln.c @@ -1396,7 +1396,7 @@ cmdline_changed: out_flush(); ++emsg_off; /* So it doesn't beep if bad expr */ /* Set the time limit to half a second. */ - profile_setlimit(500L, &tm); + tm = profile_setlimit(500L); i = do_search(NULL, firstc, ccline.cmdbuff, count, SEARCH_KEEP + SEARCH_OPT + SEARCH_NOOF + SEARCH_PEEK, &tm |