A brief file description. More...
#include "P_Cache.h"
#include "P_CacheTest.h"
#include "api/ts/ts.h"
Go to the source code of this file.
Functions | |
EXCLUSIVE_REGRESSION_TEST() | cache (RegressionTest *t, int, int *pstatus) |
void | force_link_CacheTest () |
REGRESSION_TEST() | cache_disk_replacement_stability (RegressionTest *t, int level, int *pstatus) |
A brief file description.
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
Definition in file CacheTest.cc.
EXCLUSIVE_REGRESSION_TEST() cache | ( | RegressionTest * | t, | |
int | , | |||
int * | pstatus | |||
) |
Definition at line 278 of file CacheTest.cc.
References CACHE_FRAG_TYPE_NONE, CACHE_SM, CACHE_WRITE_OPT_OVERWRITE_SYNC, CACHE_WRITE_OPT_SYNC, cacheProcessor, RegressionSM::clone(), CacheProcessor::IsCacheEnabled(), CacheProcessor::lookup(), Thread::mutex, CacheProcessor::open_read(), CacheProcessor::open_write(), r_sequential(), rand_CacheKey(), CacheProcessor::remove(), rprintf(), and this_ethread().
Referenced by CacheProcessor::cacheInitialized(), and HttpSM::tunnel_handler_push().
REGRESSION_TEST() cache_disk_replacement_stability | ( | RegressionTest * | t, | |
int | level, | |||
int * | pstatus | |||
) |
Definition at line 421 of file CacheTest.cc.
References build_vol_hash_table(), Vol::disk, Vol::hash_id, Vol::len, CacheDisk::num_errors, CacheHostRecord::num_vols, REGRESSION_TEST_EXTENDED, rprintf(), to, CacheHostRecord::vol_hash_table, and CacheHostRecord::vols.
void force_link_CacheTest | ( | ) |
Definition at line 416 of file CacheTest.cc.