summaryrefslogtreecommitdiff
path: root/source3/include/smbprofile.h
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-10-14 11:16:59 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-10-14 11:16:59 +1100
commit551e95502765bae58d5ccf57635e4977b7b47b9b (patch)
treed0c797cbc5044a882e1aac6094f661edb2c070d1 /source3/include/smbprofile.h
parent9dcbddd5c61e8bf2814e97e53e7c518df87661c0 (diff)
parent4746f79d50d804b0e9d5d5cc0d4796dee54d052c (diff)
downloadsamba-551e95502765bae58d5ccf57635e4977b7b47b9b.tar.gz
samba-551e95502765bae58d5ccf57635e4977b7b47b9b.tar.bz2
samba-551e95502765bae58d5ccf57635e4977b7b47b9b.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba into abartlet-devel
Diffstat (limited to 'source3/include/smbprofile.h')
-rw-r--r--source3/include/smbprofile.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/include/smbprofile.h b/source3/include/smbprofile.h
index f58a6452bf..8945708ca3 100644
--- a/source3/include/smbprofile.h
+++ b/source3/include/smbprofile.h
@@ -782,7 +782,7 @@ extern bool do_profile_times;
extern clockid_t __profile_clock;
-static inline SMB_BIG_UINT profile_timestamp(void)
+static inline uint64_t profile_timestamp(void)
{
struct timespec ts;
@@ -797,7 +797,7 @@ static inline SMB_BIG_UINT profile_timestamp(void)
#else
-static inline SMB_BIG_UINT profile_timestamp(void)
+static inline uint64_t profile_timestamp(void)
{
struct timeval tv;
GetTimeOfDay(&tv);
@@ -830,14 +830,14 @@ static inline SMB_BIG_UINT profile_timestamp(void)
}
#define START_PROFILE(x) \
- SMB_BIG_UINT __profstamp_##x = 0; \
+ uint64_t __profstamp_##x = 0; \
if (do_profile_flag) { \
__profstamp_##x = do_profile_times ? profile_timestamp() : 0;\
INC_PROFILE_COUNT(x##_count); \
}
#define START_PROFILE_BYTES(x,n) \
- SMB_BIG_UINT __profstamp_##x = 0; \
+ uint64_t __profstamp_##x = 0; \
if (do_profile_flag) { \
__profstamp_##x = do_profile_times ? profile_timestamp() : 0;\
INC_PROFILE_COUNT(x##_count); \