Home | History | Annotate | Download | only in src

Lines Matching refs:test_size

52   void BM_Setup(int test_size);
53 void BM_CacheEncode(int iterations, int test_size);
54 void BM_CacheDecode(int iterations, int test_size);
550 void VCDiffAddressCacheTest::BM_Setup(int test_size) {
551 mode_stream_.resize(test_size);
552 verify_stream_.resize(test_size);
555 for (int i = 0; i < test_size; ++i) {
559 BM_CacheEncode(1, test_size); // populate large_address_stream_, mode_stream_
562 void VCDiffAddressCacheTest::BM_CacheEncode(int iterations, int test_size) {
569 for (int i = 0; i < test_size; ++i) {
587 void VCDiffAddressCacheTest::BM_CacheDecode(int iterations, int test_size) {
595 for (int i = 0; i < test_size; ++i) {
608 const int test_size = 20 * 1024; // 20K random encode/decode operations
610 BM_Setup(test_size);
614 BM_CacheEncode(num_iterations, test_size);
624 BM_CacheDecode(num_iterations, test_size);