Home
last modified time | relevance | path

Searched refs:timestamp (Results 1 – 25 of 49) sorted by relevance

12

/tools/tradefederation/contrib/src/com/android/performance/tests/
DHermeticLaunchTest.java570 long timestamp = in parseAtraceInfoFile() local
584 processStack.add(new TraceRecord(sectionName, taskId, timestamp)); in parseAtraceInfoFile()
596 new SectionPeriod(matchingBegin.timestamp, timestamp); in parseAtraceInfoFile()
604 new SectionPeriod(matchingBegin.timestamp, timestamp); in parseAtraceInfoFile()
763 private double timestamp; field in HermeticLaunchTest.TraceRecord
768 public TraceRecord(String name, String processId, long timestamp) { in TraceRecord() argument
771 this.timestamp = timestamp; in TraceRecord()
791 return timestamp; in getTimestamp()
794 public void setTimestamp(long timestamp) { in setTimestamp() argument
795 this.timestamp = timestamp; in setTimestamp()
/tools/trebuchet/core/common/src/test/kotlin/trebuchet/importers/ftrace/
DFtraceLineTest.kt37 assertEquals(4492.047432, line.timestamp, .1) in <lambda>()
53 assertEquals(4492.062904, line.timestamp, .1) in <lambda>()
70 assertEquals(4492.047432, line.timestamp, .1) in <lambda>()
86 assertEquals(260.464294, line.timestamp, .1) in <lambda>()
100 assertEquals(23815.466030, line.timestamp, .1) in <lambda>()
115 assertEquals(23815.466030, line.timestamp, .1) in <lambda>()
130 assertEquals(23815.466141, line.timestamp, .1) in <lambda>()
DFtraceEventTest.kt35 assertEquals(4492.047398, event.timestamp) in testParseLineComplete()
49 assertEquals(4492.062904, event.timestamp) in testParseLineUnknownTgid()
61 assertEquals(4492.047432, event.timestamp) in testParseLineNoTgid()
80 assertEquals(260.464294, event.timestamp) in testParseLineLegacy()
/tools/tradefederation/core/atest/test_runners/
Devent_handler.py278 timestamp = str(delta).split(':') # hh:mm:microsec
283 return "({:.3f}s)".format(float(timestamp[2]))
285 return "({0}m{1:.3f}s)".format(timestamp[1], float(timestamp[2]))
286 return "({0}h{1}m{2:.3f}s)".format(timestamp[0],
287 timestamp[1], float(timestamp[2]))
/tools/asuite/atest/test_runners/
Devent_handler.py281 timestamp = str(delta).split(':') # hh:mm:microsec
286 return "({:.3f}s)".format(float(timestamp[2]))
288 return "({0}m{1:.3f}s)".format(timestamp[1], float(timestamp[2]))
289 return "({0}h{1}m{2:.3f}s)".format(timestamp[0],
290 timestamp[1], float(timestamp[2]))
/tools/tradefederation/core/src/com/android/tradefed/result/
DXmlResultReporter.java97 String timestamp = getTimestamp(); in generateSummary() local
110 printTestResults(serializer, timestamp, elapsedTime); in generateSummary()
137 String timestamp = dateFormat.format(new Date()); in getTimestamp() local
138 return timestamp; in getTimestamp()
148 void printTestResults(KXmlSerializer serializer, String timestamp, long elapsedTime) in printTestResults() argument
157 serializer.attribute(NS, TIMESTAMP, timestamp); in printTestResults()
DMetricsXMLResultReporter.java94 String timestamp = getTimeStamp(); in generateResults() local
106 printRunResults(serializer, timestamp, elapsedTime); in generateResults()
127 private void printRunResults(KXmlSerializer serializer, String timestamp, long elapsedTime) in printRunResults() argument
134 serializer.attribute(NS, ATTR_TIMESTAMP, timestamp); in printRunResults()
DRetentionFileSaver.java58 String timestamp; in shouldDelete() local
60 timestamp = FileUtil.readStringFromFile(retentionFile); in shouldDelete()
61 Date retentionDate = new SimpleDateFormat(RETENTION_DATE_FORMAT).parse(timestamp); in shouldDelete()
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/dev_utils/proto/
Dapollo_qa.proto92 // all messages should have a timestamp field and it will get auto-populated
94 required uint32 timestamp = 1; field
107 required uint32 timestamp = 1; field
127 required uint32 timestamp = 1; field
149 required uint32 timestamp = 1; field
169 required uint32 timestamp = 1; field
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/
DFtraceLine.kt52 val timestamp get() = _timestamp constant in trebuchet.importers.ftrace.FtraceLine
56 private fun set(taskName: String?, pid: Int, tgid: Int, cpu: Int, timestamp: Double, in set()
62 _timestamp = timestamp in set()
148 val timestamp = readDouble() in parseLine() constant
154 timestamp, func, _reader) in parseLine()
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/importers/ftrace/events/
DTraceMarkerEvent.kt25 it.startTime = event.timestamp in <lambda>()
34 it.endTime = event.timestamp in import()
42 .addCounterSample(name, event.timestamp, value) in import()
50 .openAsyncSlice(event.pid, name, cookie, event.timestamp) in import()
57 .closeAsyncSlice(event.pid, name, cookie, event.timestamp) in import()
DSchedEvent.kt61 prevThread.schedulingStateBuilder.switchState(prevState, event.timestamp) in import()
62 nextThread.schedulingStateBuilder.switchState(SchedulingState.RUNNING, event.timestamp) in import()
63 cpu.schedulingProcessBuilder.switchProcess(nextThread.process, nextThread, event.timestamp) in import()
71 thread.schedulingStateBuilder.switchState(SchedulingState.WAKING, event.timestamp) in import()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/mobly/
DMoblyYamlResultUserDataHandler.java36 private UserData(String timestamp) { in UserData() argument
37 mTimestamp = Long.parseLong(timestamp); in UserData()
56 public Builder setTimestamp(String timestamp) { in setTimestamp() argument
57 mTimestamp = timestamp; in setTimestamp()
DMoblyYamlResultControllerInfoHandler.java37 private ControllerInfo(String timestamp) { in ControllerInfo() argument
38 mTimestamp = Math.round(Double.parseDouble(timestamp) * 1000); in ControllerInfo()
59 public Builder setTimestamp(String timestamp) { in setTimestamp() argument
60 mTimestamp = timestamp; in setTimestamp()
DMoblyYamlResultParser.java115 long timestamp = in reportToListeners() local
118 mRunStartTime == 0L ? timestamp : Math.min(mRunStartTime, timestamp); in reportToListeners()
/tools/test/connectivity/acts/framework/acts/test_utils/wifi/
Dwifi_performance_test_utils.py554 lambda entry: entry.timestamp)
599 def __init__(self, timestamp, rtt): argument
601 self.timestamp = timestamp
627 return (self.__ping_entries[key + 1].timestamp -
628 self.__ping_entries[key].timestamp)
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/
DSchedulingSliceFragment.kt32 fun switchState(newState: SchedulingState, timestamp: Double) { in switchState()
38 _slices.last().endTime = timestamp in switchState()
40 _slices.add(SchedulingSliceFragment(newState, timestamp)) in switchState()
DSchedulingProcessFragment.kt27 … fun switchProcess(process: ProcessModelFragment, thread: ThreadModelFragment, timestamp: Double) { in switchProcess()
30 _slices.last().endTime = timestamp in switchProcess()
34 _slices.add(SchedulingProcessFragment(process, thread, timestamp)) in switchProcess()
/tools/test/graphicsbenchmark/benchmark_libs/
Dagq.cpp70 jlong timestamp = timespecToMs(spec); in createIntent() local
71 env->CallObjectMethod(intent, put_extra, env->NewStringUTF("timestamp"), timestamp); in createIntent()
73 LOGD("Created intent %s at %lld", INTENT_START, (long long)timestamp); in createIntent()
/tools/tradefederation/core/src/com/android/tradefed/util/
DFileIdleMonitor.java95 long timestamp = getTimestamp(); in checkIfIdle() local
96 if (timestamp == 0L) { in checkIfIdle()
102 Duration elapsed = Duration.between(Instant.ofEpochMilli(timestamp), Instant.now()); in checkIfIdle()
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/tracks/
DSliceTrack.kt88 private fun sliceAt(timestamp: Double) = slices.binarySearch { in <lambda>()
90 it.startTime > timestamp -> 1 in <lambda>()
91 it.endTime < timestamp -> -1 in <lambda>()
/tools/test/graphicsbenchmark/performance_tests/deviceside/src/com/android/game/qualification/device/
DGameQualificationTest.java160 long timestamp = intent.getLongExtra("timestamp", 0); in registerReceiver()
161 Log.d(TAG, "Received intent at " + timestamp); in registerReceiver()
162 mReport.startLoop(timestamp); in registerReceiver()
/tools/test/connectivity/acts/framework/acts/
Dlogger.py112 def is_valid_logline_timestamp(timestamp): argument
113 if len(timestamp) == log_line_timestamp_len:
114 if logline_timestamp_re.match(timestamp):
/tools/test/connectivity/acts/framework/acts/controllers/buds_lib/
Dlatency.py134 event_id, timestamp = [int(x, 0) for x in data.split()]
142 event_pair.latency = timestamp
149 timestamp - event_pair.latency))
/tools/test/connectivity/acts/tests/google/wifi/
DWifiCrashStressTest.py105 timestamp = ad.adb.getprop("vendor.debug.ssrdump.timestamp")
106 asserts.assert_true(timestamp != pre_timestamp,
107 "SSR didn't happened %s %s" % (subsystem, timestamp))

12