aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/profile.h
blob: 7b378577ce496309f67c076a4e2fe7492a06cbeb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef NVIM_PROFILE_H
#define NVIM_PROFILE_H

#include <stdint.h>
#include <time.h>

typedef uint64_t proftime_T;

#define TIME_MSG(s) do { \
    if (time_fd != NULL) time_msg(s, NULL); \
  } while (0)

#ifdef INCLUDE_GENERATED_DECLARATIONS
# include "profile.h.generated.h"
#endif

#endif  // NVIM_PROFILE_H