Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 37) sorted by relevance

12

/test/dittosuite/src/
Dinstruction.cpp24 Instruction::Instruction(const std::string& name, const Params& params) in Instruction() argument
26 syscall_(params.syscall_), in Instruction()
27 repeat_(params.repeat_), in Instruction()
28 period_us_(params.period_us_), in Instruction()
29 offset_us_(params.offset_us_), in Instruction()
50 void Instruction::RunSynchronized(pthread_barrier_t* barrier, const MultithreadingParams& params) { in RunSynchronized() argument
51 int ret = pthread_setname_np(pthread_self(), params.name_.c_str()); in RunSynchronized()
54 LOGF("Name too long for thread, max 15 chars allowed: " + params.name_); in RunSynchronized()
60 if (params.sched_attr_.IsSet()) { in RunSynchronized()
61 params.sched_attr_.Set(); in RunSynchronized()
[all …]
Dcpu_work.cpp21 CpuWork::CpuWork(const std::string& name, const Params& params) : Instruction(name, params) {} in CpuWork() argument
23 CpuWorkUtilization::CpuWorkUtilization(const Params& params, double utilization) in CpuWorkUtilization() argument
24 : CpuWork(kName, params), utilization_(utilization) { in CpuWorkUtilization()
28 if (params.period_us_ <= 0) { in CpuWorkUtilization()
50 CpuWorkCycles::CpuWorkCycles(const Params& params, uint64_t cycles) in CpuWorkCycles() argument
51 : CpuWork(kName, params), cycles_(cycles) {} in CpuWorkCycles()
Ddelete_file.cpp22 DeleteFile::DeleteFile(const Params& params, const std::string& path_name) in DeleteFile() argument
23 : Instruction(kName, params), path_name_(GetAbsolutePath() + path_name), input_key_(-1) {} in DeleteFile()
25 DeleteFile::DeleteFile(const Params& params, int input_key) in DeleteFile() argument
26 : Instruction(kName, params), input_key_(input_key) {} in DeleteFile()
Dopen_file.cpp23 OpenFile::OpenFile(const Params& params, const std::string& path_name, bool create, bool direct_io, in OpenFile() argument
25 : Instruction(kName, params), in OpenFile()
34 OpenFile::OpenFile(const Params& params, int input_key, bool create, bool direct_io, in OpenFile() argument
36 : Instruction(kName, params), in OpenFile()
44 OpenFile::OpenFile(const Params& params, bool create, bool direct_io, int output_fd_key, in OpenFile() argument
46 : Instruction(kName, params), in OpenFile()
Dresize_file.cpp24 ResizeFile::ResizeFile(const Params& params, int64_t size, int input_fd_key) in ResizeFile() argument
25 : Instruction(kName, params), size_(size), input_fd_key_(input_fd_key) {} in ResizeFile()
42 ResizeFileRandom::ResizeFileRandom(const Params& params, int64_t min, int64_t max, uint64_t seed, in ResizeFileRandom() argument
44 : ResizeFile(params, -1, input_fd_key), in ResizeFileRandom()
Dbinder_request.cpp26 BinderRequest::BinderRequest(const std::string& kName, const Params& params, in BinderRequest() argument
28 : Instruction(kName, params), service_name_(service_name) {} in BinderRequest()
30 BinderRequestDitto::BinderRequestDitto(const Params& params, const std::string& service_name) in BinderRequestDitto() argument
31 : BinderRequest(kName, params, service_name) {} in BinderRequestDitto()
58 BinderRequestMountService::BinderRequestMountService(const Params& params) in BinderRequestMountService() argument
59 : BinderRequest(kName, params, "mount") {} in BinderRequestMountService()
76 GenericBinderRequest::GenericBinderRequest(const Params& params, in GenericBinderRequest() argument
80 : BinderRequest(kName, params, service_name), parcel_input_(parcel_input), in GenericBinderRequest()
Dread_write_file.cpp24 ReadWriteFile::ReadWriteFile(const std::string& name, const Params& params, int64_t size, in ReadWriteFile() argument
27 : Instruction(name, params), in ReadWriteFile()
114 WriteFile::WriteFile(const Params& params, int64_t size, int64_t block_size, in WriteFile() argument
117 : ReadWriteFile(kName, params, size, block_size, starting_offset, access_order, seed, reseeding, in WriteFile()
135 ReadFile::ReadFile(const Params& params, int64_t size, int64_t block_size, int64_t starting_offset, in ReadFile() argument
138 : ReadWriteFile(kName, params, size, block_size, starting_offset, access_order, seed, reseeding, in ReadFile()
Dclose_file.cpp22 CloseFile::CloseFile(const Params& params, int input_fd_key) in CloseFile() argument
23 : Instruction(kName, params), input_fd_key_(input_fd_key) {} in CloseFile()
Dinvalidate_cache.cpp21 InvalidateCache::InvalidateCache(const Params& params) : Instruction(kName, params) {} in InvalidateCache() argument
Dinstruction_set.cpp31 InstructionSet::InstructionSet(const Params& params, in InstructionSet() argument
34 : Instruction(kName, params), in InstructionSet()
43 InstructionSet::InstructionSet(const Params& params, in InstructionSet() argument
45 : Instruction(kName, params), in InstructionSet()
Dread_directory.cpp23 ReadDirectory::ReadDirectory(const Params& params, const std::string& directory_name, in ReadDirectory() argument
25 : Instruction(kName, params), in ReadDirectory()
Dbinder_service.cpp32 BinderService::BinderService(const Params& params, const std::string& name, int64_t threads) in BinderService() argument
33 : Instruction(kName, params), threads_(threads), name_(name) { in BinderService()
Dmemory_allocation.cpp48 MemoryAllocation::MemoryAllocation(const Params& params, const uint64_t size, in MemoryAllocation() argument
50 : Instruction(kName, params), size_(size), free_policy_(free_policy) {} in MemoryAllocation()
Dmultithreading.cpp19 Multithreading::Multithreading(const Instruction::Params& params, in Multithreading() argument
22 : Instruction(kName, params), in Multithreading()
/test/app_compat/csuite/tools/csuite_test/
Dcsuite_test_test.go201 params := ctx.ModuleForTests("plan_name", config.BuildOS.String()+"_common").Rule("CSuite")
202 …assertFileCopyRuleExists(t, params, "config_template.xml", "config/plan_name/config_template.xml.t…
214 params := ctx.ModuleForTests("plan_name", config.BuildOS.String()+"_common").Rule("CSuite")
215 assertFileCopyRuleExists(t, params, "config_template.xml", "config/plan_name/extra.xml.template")
243 params := ctx.ModuleForTests("plan_name", config.BuildOS.String()+"_common").Rule("CSuite")
244 assertFileCopyRuleExists(t, params, "include.xml", "config/includes/plan_name.xml")
258 func assertFileCopyRuleExists(t *testing.T, params android.TestingBuildParams, src string, dst stri…
259 assertPathsContains(t, getAllInputPaths(params), src)
260 assertWritablePathsContainsRel(t, getAllOutputPaths(params), dst)
261 if !strings.HasPrefix(params.RuleParams.Command, "cp") {
[all …]
/test/dittosuite/include/ditto/
Dcpu_work.h25 explicit CpuWork(const std::string &name, const Params& params);
35 explicit CpuWorkCycles(const Params& params, uint64_t cycles);
47 explicit CpuWorkUtilization(const Params& params, double utilization);
Dopen_file.h29 explicit OpenFile(const Params& params, const std::string& path_name, bool create, bool direct_io,
31 explicit OpenFile(const Params& params, int input_key, bool create, bool direct_io,
33 explicit OpenFile(const Params& params, bool create, bool direct_io, int output_fd_key,
Dbinder_request.h32 explicit BinderRequest(const std::string& kName, const Params& params,
47 explicit BinderRequestDitto(const Params& params, const std::string& service_name);
63 explicit BinderRequestMountService(const Params& params);
78 explicit GenericBinderRequest(const Params& params,
Ddelete_file.h27 explicit DeleteFile(const Params& params, const std::string& path_name);
28 explicit DeleteFile(const Params& params, int input_key);
Dinstruction.h47 explicit Instruction(const std::string& name, const Params& params);
52 void RunSynchronized(pthread_barrier_t* barrier, const MultithreadingParams& params);
53 std::thread SpawnThread(pthread_barrier_t* barrier, const MultithreadingParams& params);
Dread_write_file.h30 explicit ReadWriteFile(const std::string& name, const Params& params, int64_t size,
68 explicit WriteFile(const Params& params, int64_t size, int64_t block_size,
82 explicit ReadFile(const Params& params, int64_t size, int64_t block_size, int64_t starting_offset,
Dresize_file.h28 explicit ResizeFile(const Params& params, int64_t size, int input_fd_key);
39 explicit ResizeFileRandom(const Params& params, int64_t min, int64_t max, uint64_t seed,
Dinstruction_set.h30 explicit InstructionSet(const Params& params,
33 explicit InstructionSet(const Params& params,
Dinvalidate_cache.h25 explicit InvalidateCache(const Params& params);
Dclose_file.h25 explicit CloseFile(const Params& params, int input_fd_key);

12