/tools/trebuchet/trebuchet/startup-common/src/ |
D | StartupCommon.kt | 52 val startTime : Double, in <lambda>() 53 val endTime : Double, in <lambda>() 54 val serverSideForkTime : Double, in <lambda>() 55 val reportFullyDrawnTime : Double?, in <lambda>() 56 val firstSliceTime : Double, in <lambda>() 57 val undifferentiatedTime : Double, in <lambda>() 58 val schedTimings : Map<SchedulingState, Double>, in <lambda>() 66 var totalTime : Double = 0.0 in <lambda>() 68 val values : MutableMap<String, Pair<Int, Double>> = mutableMapOf() in <lambda>() 81 constructor(name : String, lowerBound : Double, upperBound : Double) { [all …]
|
/tools/trebuchet/core/common/src/main/kotlin/trebuchet/queries/ |
D | SliceQueries.kt | 52 … constructor(pid : Int, type : String, value : String?, lowerBound : Double, upperBound : Double) { 63 constructor (pid : Int, pattern : Regex, lowerBound : Double, upperBound : Double) { 273 lowerBound : Double = this.model.beginTimestamp, in ProcessModel() 274 upperBound : Double = this.model.endTimestamp) : Slice { in ProcessModel() 297 lowerBound : Double = this.model.beginTimestamp, in ProcessModel() 298 upperBound : Double = this.model.endTimestamp) : Slice { in ProcessModel() 323 lowerBound : Double = this.model.beginTimestamp, in ProcessModel() 324 upperBound : Double = this.model.endTimestamp) : Slice? { in ProcessModel() 346 lowerBound : Double = this.model.beginTimestamp, in ProcessModel() 347 upperBound : Double = this.model.endTimestamp) : Slice? { in ProcessModel() [all …]
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
D | KernelLogItem.java | 54 setAttribute(START_TIME, Double.valueOf(0.0)); in KernelLogItem() 55 setAttribute(STOP_TIME, Double.valueOf(0.0)); in KernelLogItem() 62 public Double getStartTime() { in getStartTime() 63 return (Double) getAttribute(START_TIME); in getStartTime() 69 public void setStartTime(Double time) { in setStartTime() 76 public Double getStopTime() { in getStopTime() 77 return (Double) getAttribute(STOP_TIME); in getStopTime() 83 public void setStopTime(Double time) { in setStopTime()
|
D | GenericTimingItem.java | 53 public Double getDuration() { in getDuration() 54 return (Double) getAttribute(END_TIME) - (Double) getAttribute(START_TIME); in getDuration() 58 public Double getStartTime() { in getStartTime() 59 return (Double) getAttribute(START_TIME); in getStartTime() 63 public Double getEndTime() { in getEndTime() 64 return (Double) getAttribute(END_TIME); in getEndTime()
|
D | AnrItem.java | 75 public Double getCpuUsage(CpuUsageCategory category) { in getCpuUsage() 76 return (Double) getAttribute(category.toString()); in getCpuUsage() 82 public void setCpuUsage(CpuUsageCategory category, Double usage) { in setCpuUsage() 89 public Double getLoad(LoadCategory category) { in getLoad() 90 return (Double) getAttribute(category.toString()); in getLoad() 96 public void setLoad(LoadCategory category, Double usage) { in setLoad()
|
D | SystemServicesTimingItem.java | 66 public Double getDuration() { in getDuration() 67 return (Double) getAttribute(DURATION); in getDuration() 76 public Double getStartTime() { in getStartTime() 77 return (Double) getAttribute(START_TIME); in getStartTime()
|
D | BootEventItem.java | 47 public Double getDuration() { in getDuration() 48 return (Double) getAttribute(EVENT_DURATION); in getDuration() 51 public void setDuration(Double eventDuration) { in setDuration()
|
D | MiscKernelLogItem.java | 59 public Double getEventTime() { in getEventTime() 60 return (Double) getAttribute(EVENT_TIME); in getEventTime() 66 public void setEventTime(Double time) { in setEventTime()
|
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/ |
D | Animator.kt | 22 fun animate(start: Double, end: Double, setter: (Double) -> Unit) { in animate() 26 class Animator(val start: Double, val end: Double, val setter: (Double) -> Unit, val duration: Int … 31 val value: Double = ((end - start) * frac) + start in animate()
|
D | RenderState.kt | 22 class RenderState(minX: Double, maxX: Double, viewWidth: Int) { in <lambda>() 23 var scale: Double in <lambda>() 25 var panX: Double in <lambda>() 41 fun zoomBy(amount: Double, viewX: Int) { in <lambda>()
|
/tools/loganalysis/src/com/android/loganalysis/parser/ |
D | AnrParser.java | 88 anr.setLoad(AnrItem.LoadCategory.LOAD_1, Double.parseDouble(m.group(1))); in parse() 89 anr.setLoad(AnrItem.LoadCategory.LOAD_5, Double.parseDouble(m.group(2))); in parse() 90 anr.setLoad(AnrItem.LoadCategory.LOAD_15, Double.parseDouble(m.group(3))); in parse() 96 anr.setCpuUsage(AnrItem.CpuUsageCategory.TOTAL, Double.parseDouble(m.group(1))); in parse() 99 Double usage = m.matches() ? Double.parseDouble(m.group(1)) : 0.0; in parse() 103 usage = m.matches() ? Double.parseDouble(m.group(1)) : 0.0; in parse() 107 usage = m.matches() ? Double.parseDouble(m.group(1)) : 0.0; in parse()
|
D | DmesgParser.java | 207 serviceItem.setStartTime((long) (Double.parseDouble( in parseServiceInfo() 215 serviceItem.setEndTime((long) (Double.parseDouble( in parseServiceInfo() 237 stageInfoItem.setStartTime((long) (Double.parseDouble( in parseStageInfo() 245 stageInfoItem.setDuration((long) (Double.parseDouble( in parseStageInfo() 254 stageInfoItem.setDuration((long) Double.parseDouble(match.group(DURATION))); in parseStageInfo() 269 stageInfoItem.setDuration((long) Double.parseDouble(match.group(DURATION))); in parseStageInfo() 293 actionInfoItem.setStartTime((long) (Double.parseDouble( in parseActionInfo() 315 moduleInfoItem.setModuleDuration((long) Double.parseDouble(match.group(DURATION))); in parseModuleInfo() 324 moduleInfoItem.setStartTime((long) (Double.parseDouble(match.group(TIMESTAMP)) * 1000)); in parseModuleInfo() 332 (long) (Double.parseDouble(match.group(TIMESTAMP)) * 1000)); in parseModuleInfo()
|
D | TimingsLogParser.java | 136 Map<String, Double> pendingItems = new HashMap<>(); in parseGenericTimingItems() 152 String line, Map<String, Double> pendingItems) { in parseGenericTimingItem() 164 Double startTimeMillis = pendingItems.get(durationPattern.mName); in parseGenericTimingItem() 240 item.setDuration(Double.parseDouble(matcher.group("time"))); in parseSystemServicesTimingItem() 242 item.setStartTime(Double.parseDouble(matcher.group("time"))); in parseSystemServicesTimingItem()
|
D | KernelLogParser.java | 75 private Double mStartTime = null; 76 private Double mStopTime = null; 136 Double time = Double.parseDouble(m.group(2)); in parseLine()
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/psi/ |
D | CodePrinter.kt | 427 is Double -> { in constantToSource() 429 value == Double.POSITIVE_INFINITY -> "(1.0/0.0)" in constantToSource() 430 value == Double.NEGATIVE_INFINITY -> "(-1.0/0.0)" in constantToSource() 431 java.lang.Double.isNaN(value) -> "(0.0/0.0)" in constantToSource() 477 is Double -> { in constantToExpression() 479 constant == Double.POSITIVE_INFINITY -> "Double.POSITIVE_INFINITY" in constantToExpression() 480 constant == Double.NEGATIVE_INFINITY -> "Double.NEGATIVE_INFINITY" in constantToExpression() 481 java.lang.Double.isNaN(constant) -> "Double.NaN" in constantToExpression() 532 is Double -> { in appendSourceLiteral() 534 v == Double.POSITIVE_INFINITY -> { in appendSourceLiteral() [all …]
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/fragments/ |
D | SchedulingProcessFragment.kt | 21 …sModelFragment, val thread: ThreadModelFragment, override val startTime: Double) : CpuProcessSlice… 22 override var endTime: Double = Double.MAX_VALUE 27 … fun switchProcess(process: ProcessModelFragment, thread: ThreadModelFragment, timestamp: Double) { in switchProcess() 29 if (_slices.last().endTime == Double.MAX_VALUE) { in switchProcess() 62 override val didNotFinish: Boolean get() = endTime == Double.MAX_VALUE
|
D | AsyncSlicesBuilder.kt | 23 override val startTime: Double, 24 override var endTime: Double, 40 fun openAsyncSlice(pid: Int, name: String, cookie: Int, startTime: Double) { in openAsyncSlice() 41 openSlices[key(name, cookie)] = AsyncSlice(startTime, Double.NaN, name, cookie, in openAsyncSlice() 45 fun closeAsyncSlice(pid: Int, name: String, cookie: Int, endTime: Double) { in closeAsyncSlice() 53 fun autoCloseOpenSlices(maxTimestamp: Double) { in autoCloseOpenSlices()
|
D | SliceGroupBuilder.kt | 47 fun autoCloseOpenSlices(maxTimestamp: Double) { in autoCloseOpenSlices() 60 class MutableSliceGroup(override var startTime: Double = Double.NaN, 61 override var endTime: Double = Double.NaN,
|
D | SchedulingSliceFragment.kt | 23 class SchedulingSliceFragment(override val state: SchedulingState, override val startTime: Double) 25 override var endTime: Double = Double.MAX_VALUE 32 fun switchState(newState: SchedulingState, timestamp: Double) { in switchState()
|
D | ModelFragment.kt | 22 var globalStartTime: Double = 0.0 23 var globalEndTime: Double = 0.0 24 var parentTimestamp: Double = 0.0
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/base/ |
D | Slice.kt | 23 val startTime: Double 27 val endTime: Double 34 val duration: Double get() = endTime - startTime 41 val durationSelf: Double get() = duration
|
/tools/trebuchet/core/model/src/main/kotlin/trebuchet/model/ |
D | Model.kt | 24 val beginTimestamp: Double 25 val endTimestamp: Double 26 val parentTimestamp: Double 33 var beginTimestamp = Double.MAX_VALUE
|
D | Counter.kt | 21 data class CounterValue(val timestamp: Double, val count: Long) 29 infix fun Double.hasCount(value: Long): CounterValue = CounterValue(this, value)
|
/tools/metalava/src/main/java/com/android/tools/metalava/model/ |
D | FieldItem.kt | 215 is Double -> { in <lambda>() 218 value == Double.POSITIVE_INFINITY -> writer.print("(1.0/0.0);") in <lambda>() 219 value == Double.NEGATIVE_INFINITY -> writer.print("(-1.0/0.0);") in <lambda>() 220 java.lang.Double.isNaN(value) -> writer.print("(0.0/0.0);") in <lambda>()
|
/tools/trebuchet/trebuchet/startup-summarizer/src/ |
D | StartupSummarizer.kt | 115 fun averageAndStandardDeviation(values : List<Double>) : Pair<Double, Double> { in averageAndStandardDeviation() 228 val samples : MutableMap<String, MutableList<Double>> = mutableMapOf() in printSampleSetPlainText()
|