mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
API: nvim__stats()
Use it to verify fsync() behavior.
This commit is contained in:
@@ -80,6 +80,11 @@ typedef enum {
|
||||
kTrue = 1,
|
||||
} TriState;
|
||||
|
||||
EXTERN struct nvim_stats_s {
|
||||
int64_t fsync;
|
||||
int64_t redraw;
|
||||
} g_stats INIT(= { 0, 0 });
|
||||
|
||||
/* Values for "starting" */
|
||||
#define NO_SCREEN 2 /* no screen updating yet */
|
||||
#define NO_BUFFERS 1 /* not all buffers loaded yet */
|
||||
|
Reference in New Issue
Block a user