diff options
Diffstat (limited to 'internal/tui/dashboard/syscalls.go')
| -rw-r--r-- | internal/tui/dashboard/syscalls.go | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/internal/tui/dashboard/syscalls.go b/internal/tui/dashboard/syscalls.go index 78eed0c..8f2530a 100644 --- a/internal/tui/dashboard/syscalls.go +++ b/internal/tui/dashboard/syscalls.go @@ -149,39 +149,6 @@ func compareSyscallDefault(left, right statsengine.SyscallSnapshot) int { return compareStringAsc(left.Name, right.Name) } -func compareUint64Desc(left, right uint64) int { - switch { - case left > right: - return -1 - case left < right: - return 1 - default: - return 0 - } -} - -func compareFloat64Desc(left, right float64) int { - switch { - case left > right: - return -1 - case left < right: - return 1 - default: - return 0 - } -} - -func compareStringAsc(left, right string) int { - switch { - case left < right: - return -1 - case left > right: - return 1 - default: - return 0 - } -} - func syscallSortKeyForColumn(width, column int) (syscallSortKey, bool) { if width < 140 { return compactSyscallSortKey(column) |
