| 783 | } |
| 784 | |
| 785 | void ReadMissing(ThreadState* thread) { |
| 786 | ReadOptions options; |
| 787 | std::string value; |
| 788 | for (int i = 0; i < reads_; i++) { |
| 789 | char key[100]; |
| 790 | const int k = thread->rand.Next() % FLAGS_num; |
| 791 | snprintf(key, sizeof(key), "%016d.", k); |
| 792 | db_->Get(options, key, &value); |
| 793 | thread->stats.FinishedSingleOp(); |
| 794 | } |
| 795 | } |
| 796 | |
| 797 | void ReadHot(ThreadState* thread) { |
| 798 | ReadOptions options; |
nothing calls this directly
no test coverage detected