2014-05-23 16:17:50 -07:00
|
|
|
src/nvim/api/buffer.c
|
|
|
|
src/nvim/api/buffer.h
|
2014-05-26 09:39:16 -07:00
|
|
|
src/nvim/api/private/defs.h
|
|
|
|
src/nvim/api/private/handle.c
|
|
|
|
src/nvim/api/private/handle.h
|
2014-10-24 11:52:05 -07:00
|
|
|
src/nvim/api/private/helpers.c
|
|
|
|
src/nvim/api/private/helpers.h
|
2014-05-23 16:17:50 -07:00
|
|
|
src/nvim/api/tabpage.c
|
|
|
|
src/nvim/api/tabpage.h
|
|
|
|
src/nvim/api/vim.c
|
|
|
|
src/nvim/api/vim.h
|
|
|
|
src/nvim/api/window.c
|
|
|
|
src/nvim/api/window.h
|
2014-05-16 03:40:40 -07:00
|
|
|
src/nvim/cursor.c
|
|
|
|
src/nvim/cursor.h
|
2014-05-23 16:17:51 -07:00
|
|
|
src/nvim/hashtab.c
|
|
|
|
src/nvim/hashtab.h
|
2014-05-12 06:53:15 -07:00
|
|
|
src/nvim/indent.c
|
|
|
|
src/nvim/indent.h
|
|
|
|
src/nvim/log.c
|
|
|
|
src/nvim/log.h
|
2014-05-19 06:51:47 -07:00
|
|
|
src/nvim/map.c
|
|
|
|
src/nvim/map.h
|
|
|
|
src/nvim/map_defs.h
|
2014-10-24 11:52:05 -07:00
|
|
|
src/nvim/memfile.c
|
|
|
|
src/nvim/memfile.h
|
|
|
|
src/nvim/memfile_defs.h
|
|
|
|
src/nvim/msgpack_rpc/channel.c
|
|
|
|
src/nvim/msgpack_rpc/channel.h
|
|
|
|
src/nvim/msgpack_rpc/helpers.c
|
|
|
|
src/nvim/msgpack_rpc/helpers.h
|
|
|
|
src/nvim/msgpack_rpc/server.c
|
|
|
|
src/nvim/msgpack_rpc/server.h
|
2014-05-12 06:53:15 -07:00
|
|
|
src/nvim/os/env.c
|
|
|
|
src/nvim/os/event.c
|
|
|
|
src/nvim/os/event.h
|
2014-05-23 16:17:50 -07:00
|
|
|
src/nvim/os/event_defs.h
|
2014-05-12 06:53:15 -07:00
|
|
|
src/nvim/os/input.c
|
|
|
|
src/nvim/os/input.h
|
|
|
|
src/nvim/os/job.c
|
|
|
|
src/nvim/os/job.h
|
2014-05-23 16:17:50 -07:00
|
|
|
src/nvim/os/job_defs.h
|
2014-05-12 06:53:15 -07:00
|
|
|
src/nvim/os/mem.c
|
|
|
|
src/nvim/os/os.h
|
2014-05-23 16:17:50 -07:00
|
|
|
src/nvim/os/rstream.c
|
|
|
|
src/nvim/os/rstream.h
|
|
|
|
src/nvim/os/rstream_defs.h
|
2014-05-12 06:53:15 -07:00
|
|
|
src/nvim/os/shell.c
|
|
|
|
src/nvim/os/shell.h
|
|
|
|
src/nvim/os/signal.c
|
|
|
|
src/nvim/os/signal.h
|
|
|
|
src/nvim/os/time.c
|
|
|
|
src/nvim/os/time.h
|
profiling: implement on top of os_hrtime()
Should be better than gettimeofday() since libuv uses higher resolution
clocks on most UNIX platforms. Libuv also tries to use monotonic clocks,
kernel bugs notwithstanding, which is another win over gettimeofday().
Necessary for Windows, which doesn't have gettimeofday(). In vanilla vim,
Windows uses QueryPerformanceCounter, which is the correct primitive for
this sort of things, but that was removed when slimming up the codebase.
Libuv uses QueryPerformanceCounter to implement uv_hrtime() on Windows so
the behaviour of vim profiling on Windows should now be the same.
The behaviour on Linux should be different (better) though, libuv uses more
accurate primitives than gettimeofday().
Other misc. changes:
- Added function attributes where relevant (const, pure, ...)
- Convert functions to receive scalars: Now that proftime_T is always a
(uint64_t) scalar (and not a struct), it's clearer to convert the
functions to receive it as such instead of a pointer to a scalar.
- Extract profiling funcs to profile.c: make everything clearer and reduces
the size of the "catch-all" ex_cmds2.c
- Add profile.{c,h} to clint and -Wconv:
- Don't use sprintf, use snprintf
- Don't use long, use int16_t/int32_t/...
2014-06-15 03:29:32 -07:00
|
|
|
src/nvim/profile.c
|
|
|
|
src/nvim/profile.h
|
2014-10-24 11:52:05 -07:00
|
|
|
src/nvim/tempfile.c
|
|
|
|
src/nvim/tempfile.h
|