projects
/
m6w6
/
libmemcached
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
raw
|
inline
| side by side
fix whitespace.
[m6w6/libmemcached]
/
clients
/
ms_task.c
diff --git
a/clients/ms_task.c
b/clients/ms_task.c
index 7a427332346e9dc2955942f1b3a5f768b378f459..bcd2757c0b0453d6a944b0d59344751a7aa35a5c 100644
(file)
--- a/
clients/ms_task.c
+++ b/
clients/ms_task.c
@@
-725,7
+725,7
@@
static void ms_update_multi_get_result(ms_conn_t *c)
/* update get miss counter */
if (mlget_item->get_miss)
{
/* update get miss counter */
if (mlget_item->get_miss)
{
- atomic_add_
64
(&ms_stats.get_misses, 1);
+ atomic_add_
size
(&ms_stats.get_misses, 1);
}
/* get nothing from server for this task item */
}
/* get nothing from server for this task item */
@@
-741,7
+741,7
@@
static void ms_update_multi_get_result(ms_conn_t *c)
if (curr_time.tv_sec - item->client_time
< item->exp_time - EXPIRE_TIME_ERROR)
{
if (curr_time.tv_sec - item->client_time
< item->exp_time - EXPIRE_TIME_ERROR)
{
- atomic_add_
64
(&ms_stats.unexp_unget, 1);
+ atomic_add_
size
(&ms_stats.unexp_unget, 1);
if (ms_setting.verbose)
{
if (ms_setting.verbose)
{
@@
-779,7
+779,7
@@
static void ms_update_multi_get_result(ms_conn_t *c)
}
else
{
}
else
{
- atomic_add_
64
(&ms_stats.vef_miss, 1);
+ atomic_add_
size
(&ms_stats.vef_miss, 1);
if (ms_setting.verbose)
{
if (ms_setting.verbose)
{
@@
-829,7
+829,7
@@
static void ms_update_single_get_result(ms_conn_t *c, ms_task_item_t *item)
/* update get miss counter */
if ((c->precmd.cmd == CMD_GET) && c->curr_task.get_miss)
{
/* update get miss counter */
if ((c->precmd.cmd == CMD_GET) && c->curr_task.get_miss)
{
- atomic_add_
64
(&ms_stats.get_misses, 1);
+ atomic_add_
size
(&ms_stats.get_misses, 1);
}
/* get nothing from server for this task item */
}
/* get nothing from server for this task item */
@@
-846,7
+846,7
@@
static void ms_update_single_get_result(ms_conn_t *c, ms_task_item_t *item)
if (curr_time.tv_sec - item->client_time
< item->exp_time - EXPIRE_TIME_ERROR)
{
if (curr_time.tv_sec - item->client_time
< item->exp_time - EXPIRE_TIME_ERROR)
{
- atomic_add_
64
(&ms_stats.unexp_unget, 1);
+ atomic_add_
size
(&ms_stats.unexp_unget, 1);
if (ms_setting.verbose)
{
if (ms_setting.verbose)
{
@@
-884,7
+884,7
@@
static void ms_update_single_get_result(ms_conn_t *c, ms_task_item_t *item)
}
else
{
}
else
{
- atomic_add_
64
(&ms_stats.vef_miss, 1);
+ atomic_add_
size
(&ms_stats.vef_miss, 1);
if (ms_setting.verbose)
{
if (ms_setting.verbose)
{