/test/vts/utils/native/trace_processor/ |
VtsTraceProcessor.h | 36 void CleanupTraceForReplay(const std::string& trace_file); 38 void ProcessTraceForLatencyProfiling(const std::string& trace_file); 45 bool ParseTrace(const std::string& trace_file, bool ignore_timestamp,
|
VtsTraceProcessor.cpp | 34 bool VtsTraceProcessor::ParseTrace(const string& trace_file, 37 ifstream in(trace_file, std::ios::in); 87 void VtsTraceProcessor::CleanupTraceForReplay(const string& trace_file) { 89 if (!ParseTrace(trace_file, false, false, &profiling_msg)) { 90 cerr << "Failed to parse trace file: " << trace_file << endl; 100 string tmp_file = trace_file + "_tmp"; 105 if (rename(tmp_file.c_str(), trace_file.c_str())) { 106 cerr << "Failed to replace old trace file: " << trace_file << endl; 112 const string& trace_file) { 114 if (!ParseTrace(trace_file, false, false, &profiling_msg)) 151 string trace_file = trace_dir + file->d_name; local [all...] |
/external/webrtc/webrtc/modules/video_processing/test/ |
video_processing_unittest.h | 30 std::string trace_file = webrtc::test::OutputPath() + "VPMTrace.txt"; local 31 ASSERT_EQ(0, Trace::SetTraceFile(trace_file.c_str()));
|
/test/vts/drivers/hal/common/include/replayer/ |
VtsHidlHalReplayer.h | 45 bool ParseTrace(const std::string& trace_file, 51 const std::string& trace_file, const std::string& hal_service_name);
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
util.py | 25 trace_file = result.source_name + GetTraceTimestamp() 26 WriteDataToCompressedFile(result.raw_data, trace_file) 27 z.write(trace_file) 28 os.unlink(trace_file)
|
chrome_startup_tracing_agent.py | 81 trace_file = self._trace_file.replace('/storage/emulated/0/', '/sdcard/') 82 host_file = os.path.join(os.path.curdir, os.path.basename(trace_file)) 83 self._device.PullFile(trace_file, host_file)
|
chrome_tracing_agent.py | 114 trace_file = self._trace_file.replace('/storage/emulated/0/', '/sdcard/') 115 host_file = os.path.join(os.path.curdir, os.path.basename(trace_file)) 117 self._device.PullFile(trace_file, host_file)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
trace_profiler.py | 47 trace_file = '%s.html' % self._output_path 49 trace_result.Serialize(trace_file, trace_title=title) 53 print 'Trace saved as file:///%s' % os.path.abspath(trace_file) 55 return [trace_file]
|
android_systrace_profiler.py | 67 trace_file = StringIO.StringIO() 68 trace_result.Serialize(trace_file) 72 z.writestr('trace.json', trace_file.getvalue())
|
android_traceview_profiler.py | 58 for pid, trace_file in self._trace_files: 62 py_utils.WaitFor(lambda: self._FileSize(trace_file) > 0, timeout=10) 63 output_files.append(trace_file)
|
/external/vixl/tools/ |
verify_assembler_traces.py | 415 trace_file 416 for trace_file in os.listdir(trace_dir) 417 if trace_file.startswith("assembler-") 420 for trace_file in trace_files: 422 print("Verifying \"" + trace_file + "\".") 423 with open(os.path.join(trace_dir, trace_file), "r") as f: 424 if "t32" in trace_file: 426 elif "a32" in trace_file: 429 raise Exception("Failed to recognize the ISA in \"" + trace_file + "\".")
|
/test/vts/drivers/hal/common/replayer/ |
VtsHidlHalReplayer.cpp | 85 bool VtsHidlHalReplayer::ParseTrace(const string& trace_file, 88 std::ifstream in(trace_file, std::ios::in); 125 const string& trace_file, const string& hal_service_name) { 143 if (!ParseTrace(trace_file, &call_msgs, &result_msgs)) { 144 cerr << __func__ << ": couldn't parse trace file: " << trace_file << endl;
|
/external/webrtc/webrtc/modules/video_coding/test/ |
video_rtp_play.cc | 33 std::string trace_file = webrtc::test::OutputPath() + "receiverTestTrace.txt"; local 35 webrtc::Trace::SetTraceFile(trace_file.c_str());
|
/test/vts/compilation_tools/vtsc/test/golden/PROFILER/ |
NfcClientCallback.profiler.cpp | 31 char trace_file[PATH_MAX]; local 32 sprintf(trace_file, "%s/%s_%s", TRACEFILEPREFIX, package, version); 33 VtsProfilingInterface& profiler = VtsProfilingInterface::getInstance(trace_file);
|
Nfc.profiler.cpp | 31 char trace_file[PATH_MAX]; local 32 sprintf(trace_file, "%s/%s_%s", TRACEFILEPREFIX, package, version); 33 VtsProfilingInterface& profiler = VtsProfilingInterface::getInstance(trace_file);
|
/external/minijail/tools/ |
generate_seccomp_policy.py | 107 trace_file = open(trace_filename) 108 for line in trace_file:
|
/external/v8/src/ |
deoptimizer.cc | [all...] |
/system/extras/pagecache/ |
pagecache.py | 280 def read_and_parse_trace_file(trace_file, pagecache_stats, app_name): 281 for line in trace_file: 362 parser.add_option('-f', dest='trace_file', metavar='FILE', 383 if options.trace_file is not None: 384 if not os.path.isfile(options.trace_file): 387 trace_file = open(options.trace_file, 'r') 388 read_and_parse_trace_file(trace_file, pagecache_stats, options.app_name)
|
/art/runtime/native/ |
dalvik_system_ZygoteHooks.cc | 296 std::string trace_file = StringPrintf("/data/misc/trace/%s.trace.bin", proc_name.c_str()); local 297 Trace::Start(trace_file.c_str(),
|
/external/chromium-trace/catapult/telemetry/telemetry/value/ |
trace_unittest.py | 141 with open(f, 'r') as trace_file: 142 d = trace_file.read()
|
/art/runtime/ |
trace.cc | 334 std::unique_ptr<File> trace_file; local 337 trace_file.reset(OS::CreateEmptyFileWriteOnly(trace_filename)); 339 trace_file.reset(new File(trace_fd, "tracefile")); 340 trace_file->DisableAutoClose(); 342 if (trace_file.get() == nullptr) { 367 the_trace_ = new Trace(trace_file.release(), trace_filename, buffer_size, flags, output_mode, 592 Trace::Trace(File* trace_file, const char* trace_name, size_t buffer_size, int flags, 594 : trace_file_(trace_file), [all...] |
/external/autotest/server/ |
site_crashcollect.py | 89 with open(minidump_path + '.txt', 'w') as trace_file: 90 trace_file.write(trace_text)
|
/test/vts/utils/python/profiling/ |
profiling_utils.py | 184 def _ParseTraceData(self, trace_file): 185 """Parses the data stored in trace_file, calculates the avg/max/min 189 trace_file: file that stores the trace data. 206 (trace_processor_lib, trace_processor_binary, trace_file)
|
/external/fio/t/ |
btrace2fio.c | 43 struct trace_file { struct 78 struct trace_file *files; 277 struct trace_file *f; 778 p->files = malloc(sizeof(struct trace_file)); 1034 static int trace_needs_swap(const char *trace_file, int *swap) 1041 fd = open(trace_file, O_RDONLY);
|
/external/webrtc/webrtc/modules/remote_bitrate_estimator/test/ |
bwe_test_framework.cc | 584 FILE* trace_file = fopen(filename.c_str(), "r"); local 585 if (!trace_file) { 589 while (!feof(trace_file)) { 592 if (fgets(line, kMaxLineLength, trace_file)) { 607 fclose(trace_file);
|