Skip to content

Commit 7c7cdc5

Browse files
committed
Fix the channel name key
1 parent 587c60a commit 7c7cdc5

File tree

3 files changed

+35
-17
lines changed

3 files changed

+35
-17
lines changed

socpowerbuddy_swift.xcodeproj/project.pbxproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
3A8A035528E3F0800027B16E /* main.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A8A035428E3F0800027B16E /* main.swift */; };
2727
3A8A035A28E3F6EE0027B16E /* libIOReport.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AF36E0B28D21A4C00DA3EB3 /* libIOReport.tbd */; };
2828
3A9A723328D15F5C0021E6F1 /* static.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A9A723228D15F5C0021E6F1 /* static.swift */; };
29+
3AC4FF342ACEBA9100880617 /* render.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A3DA87D28DC91C000BFEFAC /* render.swift */; };
2930
3AC974B5298184EF00DA67A8 /* readers.m in Sources */ = {isa = PBXBuildFile; fileRef = 3AC974B4298184EF00DA67A8 /* readers.m */; };
3031
3AC9F1EA28F02E7B008C5D5C /* libncurses.tbd in Frameworks */ = {isa = PBXBuildFile; fileRef = 3AC9F1E928F02E6F008C5D5C /* libncurses.tbd */; };
3132
3AECE96B297AEB4000D45A12 /* Alamofire in Frameworks */ = {isa = PBXBuildFile; productRef = 3AECE96A297AEB4000D45A12 /* Alamofire */; };
@@ -261,6 +262,7 @@
261262
buildActionMask = 2147483647;
262263
files = (
263264
3A8A035528E3F0800027B16E /* main.swift in Sources */,
265+
3AC4FF342ACEBA9100880617 /* render.swift in Sources */,
264266
);
265267
runOnlyForDeploymentPostprocessing = 0;
266268
};

socpowerbuddy_swift.xcodeproj/xcuserdata/eomsehwan.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist

Lines changed: 32 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1291,22 +1291,6 @@
12911291
</Locations>
12921292
</BreakpointContent>
12931293
</BreakpointProxy>
1294-
<BreakpointProxy
1295-
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
1296-
<BreakpointContent
1297-
uuid = "7BD5B483-8830-4302-97D6-B5A5EFE9F661"
1298-
shouldBeEnabled = "No"
1299-
ignoreCount = "0"
1300-
continueAfterRunningActions = "No"
1301-
filePath = "socpowerbuddy_swift/head.swift"
1302-
startingColumnNumber = "9223372036854775807"
1303-
endingColumnNumber = "9223372036854775807"
1304-
startingLineNumber = "103"
1305-
endingLineNumber = "103"
1306-
landmarkName = "render_data"
1307-
landmarkType = "14">
1308-
</BreakpointContent>
1309-
</BreakpointProxy>
13101294
<BreakpointProxy
13111295
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
13121296
<BreakpointContent
@@ -3029,5 +3013,37 @@
30293013
landmarkType = "9">
30303014
</BreakpointContent>
30313015
</BreakpointProxy>
3016+
<BreakpointProxy
3017+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
3018+
<BreakpointContent
3019+
uuid = "7DBE1FF6-497A-40C7-A476-3F6D91AF5F61"
3020+
shouldBeEnabled = "No"
3021+
ignoreCount = "0"
3022+
continueAfterRunningActions = "No"
3023+
filePath = "socpowerbuddy_swift/sampler.swift"
3024+
startingColumnNumber = "9223372036854775807"
3025+
endingColumnNumber = "9223372036854775807"
3026+
startingLineNumber = "141"
3027+
endingLineNumber = "141"
3028+
landmarkName = "sample(iorep:sd:vd:cmd:)"
3029+
landmarkType = "9">
3030+
</BreakpointContent>
3031+
</BreakpointProxy>
3032+
<BreakpointProxy
3033+
BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
3034+
<BreakpointContent
3035+
uuid = "DCE8A971-AADD-4049-8C01-4330C8C6785D"
3036+
shouldBeEnabled = "No"
3037+
ignoreCount = "0"
3038+
continueAfterRunningActions = "No"
3039+
filePath = "socpowerbuddy_swift/sampler.swift"
3040+
startingColumnNumber = "9223372036854775807"
3041+
endingColumnNumber = "9223372036854775807"
3042+
startingLineNumber = "140"
3043+
endingLineNumber = "140"
3044+
landmarkName = "sample(iorep:sd:vd:cmd:)"
3045+
landmarkType = "9">
3046+
</BreakpointContent>
3047+
</BreakpointProxy>
30323048
</Breakpoints>
30333049
</Bucket>

socpowerbuddy_swift/sampler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ func sample(iorep: iorep_data,
9090
if ii <= sd.cluster_core_counts.count-1 {
9191
for iii in 0..<Int(sd.cluster_core_counts[ii]) {
9292
autoreleasepool {
93-
var key: String? = String(format: "%@%d", sd.core_freq_channels[ii], iii)
93+
var key: String? = String(format: "%@%d0", sd.core_freq_channels[ii], iii)
9494
if chann_name == key! {
9595
if idx_name!.contains(ptype_state) || idx_name!.contains(vtype_state) {
9696
var tmp_sum: UInt64? = tmp_vd!.core_sums[ii][iii] + residency

0 commit comments

Comments
 (0)