| /redis-3.2.3/deps/jemalloc/test/unit/ |
| H A D | stats.c | 39 uint64_t epoch; in TEST_BEGIN() local 48 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)), 0, in TEST_BEGIN() 79 uint64_t epoch; in TEST_BEGIN() local 99 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)), 0, in TEST_BEGIN() 162 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)), 0, in TEST_BEGIN() 206 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)), 0, in TEST_BEGIN() 240 uint64_t epoch, nmalloc, ndalloc; in TEST_BEGIN() local 250 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)), 0, in TEST_BEGIN() 294 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)), 0, in TEST_BEGIN() 364 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)), 0, in TEST_BEGIN() [all …]
|
| H A D | mallctl.c | 5 uint64_t epoch; in TEST_BEGIN() local 15 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)-1), in TEST_BEGIN() 17 assert_d_eq(mallctl("epoch", NULL, NULL, &epoch, sizeof(epoch)+1), in TEST_BEGIN() 20 sz = sizeof(epoch)-1; in TEST_BEGIN() 21 assert_d_eq(mallctl("epoch", &epoch, &sz, NULL, 0), EINVAL, in TEST_BEGIN() 23 sz = sizeof(epoch)+1; in TEST_BEGIN() 42 uint64_t epoch; in TEST_BEGIN() local 60 sizeof(epoch)-1), EINVAL, in TEST_BEGIN() 63 sizeof(epoch)+1), EINVAL, in TEST_BEGIN() 66 sz = sizeof(epoch)-1; in TEST_BEGIN() [all …]
|
| /redis-3.2.3/deps/jemalloc/src/ |
| H A D | stats.c | 364 uint64_t epoch; in stats_print() local 380 epoch = 1; in stats_print() 382 err = je_mallctl("epoch", &epoch, &u64sz, &epoch, sizeof(uint64_t)); in stats_print()
|
| H A D | ctl.c | 66 CTL_PROTO(epoch) 476 {NAME("epoch"), CTL(epoch)},
|
| /redis-3.2.3/src/ |
| H A D | cluster.c | 4331 long long epoch; in clusterCommand() local 4333 if (getLongLongFromObjectOrReply(c,c->argv[2],&epoch,NULL) != C_OK) in clusterCommand() 4336 if (epoch < 0) { in clusterCommand() 4337 addReplyErrorFormat(c,"Invalid config epoch specified: %lld",epoch); in clusterCommand() 4344 myself->configEpoch = epoch; in clusterCommand() 4349 if (server.cluster->currentEpoch < (uint64_t)epoch) in clusterCommand() 4350 server.cluster->currentEpoch = epoch; in clusterCommand()
|
| H A D | sentinel.c | 3664 char *sentinelGetLeader(sentinelRedisInstance *master, uint64_t epoch) { in sentinelGetLeader() argument 3706 myvote = sentinelVoteLeader(master,epoch,winner,&leader_epoch); in sentinelGetLeader() 3708 myvote = sentinelVoteLeader(master,epoch,sentinel.myid,&leader_epoch); in sentinelGetLeader() 3710 if (myvote && leader_epoch == epoch) { in sentinelGetLeader()
|
| /redis-3.2.3/deps/jemalloc/ |
| H A D | ChangeLog | 536 - Fix the "epoch" mallctl to update cached stats even if the passed in epoch
|