mirror of
https://github.com/samba-team/samba.git
synced 2025-02-04 17:47:26 +03:00
s3:smbprofile: add END_PROFILE_BYTES() marco
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
71a9e5da2b
commit
8622168a4a
@ -953,6 +953,9 @@ static inline uint64_t profile_timestamp(void)
|
|||||||
#define END_PROFILE(x) \
|
#define END_PROFILE(x) \
|
||||||
END_PROFILE_RAW(x, __profstamp_##x, x##_time)
|
END_PROFILE_RAW(x, __profstamp_##x, x##_time)
|
||||||
|
|
||||||
|
#define END_PROFILE_BYTES(x) \
|
||||||
|
END_PROFILE_RAW(x, __profstamp_##x, x##_time)
|
||||||
|
|
||||||
#else /* WITH_PROFILE */
|
#else /* WITH_PROFILE */
|
||||||
|
|
||||||
#define DO_PROFILE_INC(x)
|
#define DO_PROFILE_INC(x)
|
||||||
@ -964,6 +967,7 @@ static inline uint64_t profile_timestamp(void)
|
|||||||
#define START_PROFILE_BYTES(x,n)
|
#define START_PROFILE_BYTES(x,n)
|
||||||
#define END_PROFILE_STAMP(x, _stamp)
|
#define END_PROFILE_STAMP(x, _stamp)
|
||||||
#define END_PROFILE(x)
|
#define END_PROFILE(x)
|
||||||
|
#define END_PROFILE_BYTES(x)
|
||||||
|
|
||||||
#endif /* WITH_PROFILE */
|
#endif /* WITH_PROFILE */
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user