projects
/
awesomized
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
Fix for hudson valgrind build
[awesomized/libmemcached]
/
clients
/
ms_setting.h
diff --git
a/clients/ms_setting.h
b/clients/ms_setting.h
index 9283a4834b385d3e765d4756e594615ce139fc23..f558dd32fe837214b7971d8c0a51803a0f80782c 100644
(file)
--- a/
clients/ms_setting.h
+++ b/
clients/ms_setting.h
@@
-53,8
+53,8
@@
typedef struct mcd_sever
int srv_port; /* server port */
/* for calculating how long the server disconnects */
int srv_port; /* server port */
/* for calculating how long the server disconnects */
- volatile int32_t disconn_cnt; /* number of disconnections count */
- volatile int32_t reconn_cnt; /* number of reconnections count */
+ volatile
u
int32_t disconn_cnt; /* number of disconnections count */
+ volatile
u
int32_t reconn_cnt; /* number of reconnections count */
struct timeval disconn_time; /* start time of disconnection */
struct timeval reconn_time; /* end time of reconnection */
} ms_mcd_server_t;
struct timeval disconn_time; /* start time of disconnection */
struct timeval reconn_time; /* end time of reconnection */
} ms_mcd_server_t;
@@
-112,7
+112,7
@@
typedef struct setting
{
int ncpu; /* cpu count of this system */
int nthreads; /* total thread count, must equal or less than cpu cores */
{
int ncpu; /* cpu count of this system */
int nthreads; /* total thread count, must equal or less than cpu cores */
-
in
t nconns; /* total conn count, must multiply by total thread count */
+
uint32_
t nconns; /* total conn count, must multiply by total thread count */
int64_t exec_num; /* total execute number */
int run_time; /* total run time */
int64_t exec_num; /* total execute number */
int run_time; /* total run time */