Skip to content

Commit 22c2567

Browse files
author
Daniel Augustin
committed
minor readme adjustments
1 parent 6ffa820 commit 22c2567

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

adb/adb.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func (reader *internalReader) Scan(packagename string) (map[string]int, string,
142142
}
143143

144144
// Run the adb readmeminfocommand
145-
readmeminfocommand := exec.Command(`C:\Users\Augustin\AppData\Local\Android\Sdk\platform-tools\adb`, "shell", "dumpsys", "meminfo", processidstring)
145+
readmeminfocommand := exec.Command(reader.adbpath, "shell", "dumpsys", "meminfo", processidstring)
146146
meminfobytes, readmeminfocommanderror := readmeminfocommand.Output()
147147
if readmeminfocommanderror != nil {
148148
return nil, "", readmeminfocommanderror

readme.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -174,10 +174,10 @@ Process: INACTIVE since 86sec (org.qtproject.example)
174174

175175
Rough trends of memory development are given for the application. These are not real trend lines, but the change of differently damped low-pass filters.
176176

177-
1. **T1000**: The change of the low-pass filter affected by the new value as follows: `filtervalue = filtervalue * 0.999 + newvalue * 0.001` (0.1%)
178-
2. **T100**: The change of the low-pass filter affected by the new value as follows: `filtervalue = filtervalue * 0.99 + newvalue * 0.01` (1%)
179-
3. **T10**: The change of the low-pass filter affected by the new value as follows: `filtervalue = filtervalue * 0.9 + newvalue * 0.1` (10%)
180-
4. **T1**: The change of the value, compared to the last measured one
177+
1. **T1000**: The change of the low-pass filter affected by the new `value` as follows: `filtervalue = filtervalue * 0.999 + value * 0.001` (0.1%)
178+
2. **T100**: The change of the low-pass filter affected by the new `value` as follows: `filtervalue = filtervalue * 0.99 + value * 0.01` (1%)
179+
3. **T10**: The change of the low-pass filter affected by the new `value` as follows: `filtervalue = filtervalue * 0.9 + value * 0.1` (10%)
180+
4. **T1**: The change of the `value`, compared to the last measured one
181181

182182
These trends are only displayed visually and are not saved. The processing of csv files, for example via the Excel application, offers far more possibilities for analysis.
183183

0 commit comments

Comments
 (0)