aboutsummaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorLibravatar startx2017 <vradu.startx@yandex.com>2017-10-09 08:10:06 -0400
committerLibravatar startx2017 <vradu.startx@yandex.com>2017-10-09 08:10:06 -0400
commitb2165c26d73fd3ba8fc1cf33745b5732ea25e47f (patch)
tree269398955bb4860025d551180487ff40636b1646 /src/include
parentfix xed.profile (diff)
downloadfirejail-b2165c26d73fd3ba8fc1cf33745b5732ea25e47f.tar.gz
firejail-b2165c26d73fd3ba8fc1cf33745b5732ea25e47f.tar.zst
firejail-b2165c26d73fd3ba8fc1cf33745b5732ea25e47f.zip
added a tool to measure time spent in various functions
Diffstat (limited to 'src/include')
-rw-r--r--src/include/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/common.h b/src/include/common.h
index 4c517e427..80f55803d 100644
--- a/src/include/common.h
+++ b/src/include/common.h
@@ -124,6 +124,8 @@ static inline unsigned long long getticks(void) {
124#endif 124#endif
125} 125}
126 126
127void timetrace_start(void);
128float timetrace_end(void);
127int join_namespace(pid_t pid, char *type); 129int join_namespace(pid_t pid, char *type);
128int name2pid(const char *name, pid_t *pid); 130int name2pid(const char *name, pid_t *pid);
129char *pid_proc_comm(const pid_t pid); 131char *pid_proc_comm(const pid_t pid);