| 125 | uint64_t Context::getRandomSeed() { return random_seed_; } |
| 126 | |
| 127 | uint64_t Context::getRandomState() { |
| 128 | auto ret = random_state_; |
| 129 | std::mt19937 gen(random_state_); |
| 130 | random_state_ = gen(); |
| 131 | return ret; |
| 132 | } |
| 133 | |
| 134 | uint64_t Context::curTime() { |
| 135 | auto now = std::chrono::high_resolution_clock::now(); |
no outgoing calls
no test coverage detected