htop-dev / htop

htop - an interactive process viewer
https://htop.dev/
GNU General Public License v2.0
6.52k stars 440 forks source link

htop is using much cpu itself #1484

Open webcaptcha opened 5 months ago

webcaptcha commented 5 months ago

I'm on KDE Plasma on Wayland session

Terminal emulator - Alacritty When I run htop it's usually shows around 15% CPU with peaks up to 25%

Is it ok? For example on the screenshot at the same time Firefox was playing video. Screenshot_20240524_174128

If it needed I can make a video but almost all time it uses than numbers of CPU

CPU - AMD 7840HS GPU - intergrated RAM - 32GB

htop default config

Explorer09 commented 5 months ago

The CPU percentage displayed is per core, so when you have 16 CPU core (or threads) active, the maximum would be 1600%. Do you consider this takes too much CPU usage?

natoscott commented 5 months ago

@webcaptcha are you using the default sampling interval (1.5s) or something more frequent? Looks like you have over 2000 processes running there - visiting each in /proc does take a small amount of time and it all adds up. You might find some additional insights by adding the UTIME and STIME columns and observing htop there as well (I expect you'll see much higher kernel time than user time).

BenBE commented 5 months ago

Can you provide a copy of your htoprc configuration file?

ivanstepanovftw commented 3 months ago

Same for me on Fedora and Debian. Even though I have 8C/16T, laptop at the summer just burns your knees, so you have to monitor what to close, and htop just shouldn't be running in the background. Not critical, but others do not experience high CPU usage by htop itself. I also did not find any relevant bug reports except this one.

image

My thoughts at first was that this high CPU usage is just at this exact point of the time when it refreshes info, but top shows exactly the same with independent refresh rate.

image

Here is mine ~/.config/htop/htoprc, I hope it helps.

Details

``` # Beware! This file is rewritten by htop when settings are changed in the interface. # The parser is also very primitive, and not human-friendly. htop_version=3.2.2 config_reader_min_version=3 fields=0 48 17 18 38 39 40 2 46 47 49 1 hide_kernel_threads=1 hide_userland_threads=1 hide_running_in_container=0 shadow_other_users=0 show_thread_names=0 show_program_path=1 highlight_base_name=0 highlight_deleted_exe=1 shadow_distribution_path_prefix=0 highlight_megabytes=1 highlight_threads=1 highlight_changes=0 highlight_changes_delay_secs=5 find_comm_in_cmdline=1 strip_exe_from_cmdline=1 show_merged_command=0 header_margin=1 screen_tabs=1 detailed_cpu_time=0 cpu_count_from_one=0 show_cpu_usage=1 show_cpu_frequency=1 show_cpu_temperature=1 degree_fahrenheit=0 update_process_names=0 account_guest_in_cpu_meter=0 color_scheme=0 enable_mouse=1 delay=15 hide_function_bar=0 header_layout=two_50_50 column_meters_0=LeftCPUs2 Memory Swap column_meter_modes_0=1 1 1 column_meters_1=RightCPUs2 Tasks LoadAverage Uptime column_meter_modes_1=1 2 2 2 tree_view=0 sort_key=46 tree_sort_key=0 sort_direction=-1 tree_sort_direction=1 tree_view_always_by_pid=0 all_branches_collapsed=0 screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command .sort_key=PERCENT_CPU .tree_sort_key=PID .tree_view=0 .tree_view_always_by_pid=0 .sort_direction=-1 .tree_sort_direction=1 .all_branches_collapsed=0 screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command .sort_key=IO_RATE .tree_sort_key=PID .tree_view=0 .tree_view_always_by_pid=0 .sort_direction=-1 .tree_sort_direction=1 .all_branches_collapsed=0 ```

I did not changed default refresh rate, I have only added sensors info, CPU frequency, majfaults and "hide userland process threads" or something like that.

ivanstepanovftw commented 3 months ago

Forgot to mention, my CPU is AMD too: AMD Ryzen 7 5800U. I don't remember that I had this issue with Intel before.

cgzones commented 2 months ago

Could you try to disable CPU frequency or CPU temperature and check whether the behavior persists.

ivanstepanovftw commented 2 months ago

Tried to disable both CPU frequency and CPU temperature and restarting htop, CPU usage is the same before and after, behavior persisted.

Details

![image](https://github.com/user-attachments/assets/e4e43b47-3cff-4aa6-a493-7b3671e81112) ![image](https://github.com/user-attachments/assets/48564d0e-f176-4aef-85ab-962dade90713)

ivanstepanovftw commented 2 months ago

Collected gprof output with:

./autogen.sh
CFLAGS="-g -O2 -pg" ./configure
make

./htop

gprof ./htop gmon.out > gprof_output.txt
gprof output

``` Flat profile: Each sample counts as 0.01 seconds. % cumulative self self total time seconds seconds calls ms/call ms/call name 75.00 0.15 0.15 25 6.00 6.00 LinuxProcessTable_readOomData 15.00 0.18 0.03 52200 0.00 0.00 Process_makeCommandStr 5.00 0.19 0.01 1293233 0.00 0.00 Process_compare 5.00 0.20 0.01 1293233 0.00 0.00 compareRealNumbers 0.00 0.20 0.00 1293233 0.00 0.00 LinuxProcess_compareByKey 0.00 0.20 0.00 1293233 0.00 0.00 Process_compareByKey_Base 0.00 0.20 0.00 58910 0.00 0.00 fast_strtoll_dec.constprop.0 0.00 0.20 0.00 52611 0.00 0.00 Hashtable_get 0.00 0.20 0.00 52200 0.00 0.00 Table_cleanupRow 0.00 0.20 0.00 52181 0.00 0.00 ProcessTable_getProcess 0.00 0.20 0.00 50094 0.00 0.00 Vector_add 0.00 0.20 0.00 16782 0.00 0.00 readfd_internal 0.00 0.20 0.00 16710 0.00 0.00 xReadfileat 0.00 0.20 0.00 14202 0.00 0.00 Row_updateFieldWidth 0.00 0.20 0.00 11671 0.00 0.00 RichString_setLen 0.00 0.20 0.00 8945 0.00 0.00 xSnprintf 0.00 0.20 0.00 7101 0.00 0.00 GPUMeter_active 0.00 0.20 0.00 7101 0.00 0.00 Process_updateCPUFieldWidths 0.00 0.20 0.00 7101 0.00 0.00 String_safeStrncpy 0.00 0.20 0.00 6578 0.00 0.00 LinuxProcess_rowWriteField 0.00 0.20 0.00 6072 0.00 0.00 Process_writeField 0.00 0.20 0.00 5605 0.00 0.00 RichString_appendnAscii 0.00 0.20 0.00 4789 0.00 0.00 Panel_set 0.00 0.20 0.00 4789 0.00 0.00 Process_rowMatchesFilter 0.00 0.20 0.00 4789 0.00 0.00 Vector_set 0.00 0.20 0.00 4234 0.00 0.00 xStrdup 0.00 0.20 0.00 4070 0.00 0.00 xCalloc 0.00 0.20 0.00 3175 0.00 0.00 RichString_appendAscii 0.00 0.20 0.00 2322 0.00 0.00 Process_updateCmdline 0.00 0.20 0.00 2114 0.00 0.00 insert 0.00 0.20 0.00 2111 0.00 0.00 Hashtable_put 0.00 0.20 0.00 2107 0.00 0.00 RichString_setAttrn 0.00 0.20 0.00 2102 0.00 0.00 LinuxProcess_new 0.00 0.20 0.00 2102 0.00 0.00 Process_delete 0.00 0.20 0.00 2102 0.00 0.00 Process_done 0.00 0.20 0.00 2102 0.00 0.00 Process_fillStarttimeBuffer 0.00 0.20 0.00 2102 0.00 0.00 Process_init 0.00 0.20 0.00 2102 0.00 0.00 Row_init 0.00 0.20 0.00 2102 0.00 0.00 Table_add 0.00 0.20 0.00 1882 0.00 0.00 LinuxProcessList_readComm 0.00 0.20 0.00 1882 0.00 0.00 LinuxProcessTable_readCmdlineFile 0.00 0.20 0.00 1882 0.00 0.00 Process_updateComm 0.00 0.20 0.00 1842 0.00 0.00 Process_updateExe 0.00 0.20 0.00 1583 0.00 0.00 Compat_faccessat 0.00 0.20 0.00 1518 0.00 0.00 Row_printKBytes 0.00 0.20 0.00 1463 0.00 0.00 mbstowcs_nonfatal 0.00 0.20 0.00 1012 0.00 0.00 Row_printPercentage 0.00 0.20 0.00 990 0.00 0.00 RichString_delete 0.00 0.20 0.00 934 0.00 0.00 RichString_appendWide 0.00 0.20 0.00 920 0.00 0.00 RichString_appendChr 0.00 0.20 0.00 506 0.00 0.00 Process_rowIsHighlighted 0.00 0.20 0.00 506 0.00 0.00 Process_writeCommand 0.00 0.20 0.00 506 0.00 0.00 RichString_appendnWideColumns 0.00 0.20 0.00 506 0.00 0.00 Row_display 0.00 0.20 0.00 506 0.00 0.00 Row_printBytes 0.00 0.20 0.00 506 0.00 0.00 Row_printCount 0.00 0.20 0.00 506 0.00 0.00 Row_printLeftAlignedField 0.00 0.20 0.00 506 0.00 0.00 Row_printTime 0.00 0.20 0.00 430 0.00 0.00 UsersTable_getRef 0.00 0.20 0.00 414 0.00 0.00 BarMeterMode_draw 0.00 0.20 0.00 403 0.00 0.00 xReallocArrayZero 0.00 0.20 0.00 368 0.00 0.00 CPUMeter_updateValues 0.00 0.20 0.00 368 0.00 0.00 Platform_setCPUValues 0.00 0.20 0.00 368 0.00 0.00 sumPositiveValues 0.00 0.20 0.00 203 0.00 0.00 xMalloc 0.00 0.20 0.00 98 0.00 0.00 xReadfile 0.00 0.20 0.00 92 0.00 0.00 Meter_humanUnit 0.00 0.20 0.00 69 0.00 0.00 String_freeArray 0.00 0.20 0.00 69 0.00 0.00 String_split 0.00 0.20 0.00 69 0.00 0.00 TextMeterMode_draw 0.00 0.20 0.00 64 0.00 0.00 String_readLine 0.00 0.20 0.00 48 0.00 0.00 Vector_prune 0.00 0.20 0.00 46 0.00 0.00 AllCPUsMeter_updateValues 0.00 0.20 0.00 46 0.00 0.00 DualColCPUsMeter_draw 0.00 0.20 0.00 46 0.00 0.00 Meter_setMode 0.00 0.20 0.00 46 0.00 0.00 SingleColCPUsMeter_draw 0.00 0.20 0.00 46 0.00 0.00 drawTab 0.00 0.20 0.00 36 0.00 0.00 xAsprintf 0.00 0.20 0.00 32 0.00 0.00 CPUMeter_init 0.00 0.20 0.00 32 0.00 0.00 Meter_setCaption 0.00 0.20 0.00 32 0.00 0.00 free_and_xStrdup 0.00 0.20 0.00 26 0.00 0.00 LinuxMachine_updateCPUcount 0.00 0.20 0.00 26 0.00 0.00 toFieldIndex 0.00 0.20 0.00 25 0.00 0.00 Generic_gettime_realtime 0.00 0.20 0.00 25 0.00 0.00 LinuxMachine_scanCPUTime 0.00 0.20 0.00 25 0.00 0.00 Machine_scan 0.00 0.20 0.00 25 0.00 7.20 Machine_scanTables 0.00 0.20 0.00 25 0.00 1.20 ProcessTable_cleanupEntries 0.00 0.20 0.00 25 0.00 0.00 ProcessTable_goThroughEntries 0.00 0.20 0.00 25 0.00 0.00 ProcessTable_iterateEntries 0.00 0.20 0.00 25 0.00 0.00 ProcessTable_prepareEntries 0.00 0.20 0.00 25 0.00 0.00 Row_resetFieldWidths 0.00 0.20 0.00 25 0.00 0.00 Row_setUidColumnWidth 0.00 0.20 0.00 25 0.00 0.00 Table_prepareEntries 0.00 0.20 0.00 25 0.00 0.00 Vector_compact 0.00 0.20 0.00 24 0.00 0.00 Generic_gettime_monotonic 0.00 0.20 0.00 24 0.00 0.00 MainPanel_eventHandler 0.00 0.20 0.00 23 0.00 0.00 FunctionBar_draw 0.00 0.20 0.00 23 0.00 0.00 FunctionBar_drawExtra 0.00 0.20 0.00 23 0.00 0.00 Header_draw 0.00 0.20 0.00 23 0.00 0.00 Header_updateData 0.00 0.20 0.00 23 0.00 0.00 IncSet_drawBar 0.00 0.20 0.00 23 0.00 0.00 LoadAverageMeter_display 0.00 0.20 0.00 23 0.00 0.00 LoadAverageMeter_updateValues 0.00 0.20 0.00 23 0.00 0.00 MainPanel_drawFunctionBar 0.00 0.20 0.00 23 0.00 0.00 MemoryMeter_updateValues 0.00 0.20 0.00 23 0.00 0.00 Meter_delete 0.00 0.20 0.00 23 0.00 0.00 Meter_new 0.00 0.20 0.00 23 0.00 0.00 Panel_draw 0.00 0.20 0.00 23 0.00 0.00 Panel_getCh 0.00 0.20 0.00 23 0.00 0.00 Panel_getSelectedIndex 0.00 0.20 0.00 23 0.00 0.00 Panel_prune 0.00 0.20 0.00 23 0.00 0.00 Panel_setSelected 0.00 0.20 0.00 23 0.00 0.00 Panel_size 0.00 0.20 0.00 23 0.00 0.00 Platform_getLoadAverage 0.00 0.20 0.00 23 0.00 0.00 Platform_getUptime 0.00 0.20 0.00 23 0.00 0.00 Platform_setMemoryValues 0.00 0.20 0.00 23 0.00 0.00 Platform_setSwapValues 0.00 0.20 0.00 23 0.00 0.00 RichString_setAttr 0.00 0.20 0.00 23 0.00 0.00 RichString_writeWide 0.00 0.20 0.00 23 0.00 0.00 SwapMeter_updateValues 0.00 0.20 0.00 23 0.00 0.87 Table_rebuildPanel 0.00 0.20 0.00 23 0.00 0.87 Table_updateDisplayList 0.00 0.20 0.00 23 0.00 0.00 TasksMeter_display 0.00 0.20 0.00 23 0.00 0.00 TasksMeter_updateValues 0.00 0.20 0.00 23 0.00 0.00 UptimeMeter_updateValues 0.00 0.20 0.00 23 0.00 0.87 Vector_insertionSort 0.00 0.20 0.00 19 0.00 0.00 Hashtable_remove 0.00 0.20 0.00 19 0.00 0.00 Vector_softRemove 0.00 0.20 0.00 13 0.00 0.00 RowField_alignedTitle 0.00 0.20 0.00 6 0.00 0.00 String_trim 0.00 0.20 0.00 6 0.00 0.00 Vector_delete 0.00 0.20 0.00 6 0.00 0.00 Vector_new 0.00 0.20 0.00 4 0.00 0.00 FunctionBar_delete 0.00 0.20 0.00 4 0.00 0.00 FunctionBar_new 0.00 0.20 0.00 4 0.00 0.00 String_cat 0.00 0.20 0.00 3 0.00 0.00 Hashtable_clear 0.00 0.20 0.00 3 0.00 0.00 Hashtable_delete 0.00 0.20 0.00 3 0.00 0.00 Hashtable_new 0.00 0.20 0.00 3 0.00 0.00 Object_isA 0.00 0.20 0.00 3 0.00 0.00 xRealloc 0.00 0.20 0.00 2 0.00 0.00 AllCPUsMeter_done 0.00 0.20 0.00 2 0.00 0.00 CPUMeterCommonInit 0.00 0.20 0.00 2 0.00 0.00 CPUMeterCommonUpdateMode 0.00 0.20 0.00 2 0.00 0.00 DualColCPUsMeter_updateMode 0.00 0.20 0.00 2 0.00 0.00 FunctionBar_setLabel 0.00 0.20 0.00 2 0.00 0.00 RichString_rewind 0.00 0.20 0.00 2 0.00 0.00 ScreenSettings_readFields 0.00 0.20 0.00 2 0.00 0.00 Settings_initScreenSettings.constprop.0 0.00 0.20 0.00 2 0.00 0.00 Settings_newScreen 0.00 0.20 0.00 2 0.00 0.00 Settings_readMeterModes 0.00 0.20 0.00 2 0.00 0.00 signal_safe_fprintf 0.00 0.20 0.00 2 0.00 0.00 xMallocArray 0.00 0.20 0.00 1 0.00 0.00 Action_setBindings 0.00 0.20 0.00 1 0.00 0.00 CRT_done 0.00 0.20 0.00 1 0.00 0.00 CRT_init 0.00 0.20 0.00 1 0.00 0.00 CRT_resetSignalHandlers 0.00 0.20 0.00 1 0.00 0.00 CRT_setColors 0.00 0.20 0.00 1 0.00 0.00 DynamicColumns_delete 0.00 0.20 0.00 1 0.00 0.00 DynamicColumns_new 0.00 0.20 0.00 1 0.00 0.00 DynamicMeters_delete 0.00 0.20 0.00 1 0.00 0.00 DynamicMeters_new 0.00 0.20 0.00 1 0.00 0.00 DynamicScreens_delete 0.00 0.20 0.00 1 0.00 0.00 DynamicScreens_new 0.00 0.20 0.00 1 0.00 0.00 FunctionBar_synthesizeEvent 0.00 0.20 0.00 1 0.00 0.00 Header_calculateHeight 0.00 0.20 0.00 1 0.00 0.00 Header_delete 0.00 0.20 0.00 1 0.00 0.00 Header_new 0.00 0.20 0.00 1 0.00 0.00 Header_populateFromSettings 0.00 0.20 0.00 1 0.00 0.00 Header_setLayout 0.00 0.20 0.00 1 0.00 0.00 IncSet_delete 0.00 0.20 0.00 1 0.00 0.00 IncSet_new 0.00 0.20 0.00 1 0.00 0.00 LinuxProcessTable_initTtyDrivers 0.00 0.20 0.00 1 0.00 0.00 Machine_delete 0.00 0.20 0.00 1 0.00 0.00 Machine_done 0.00 0.20 0.00 1 0.00 0.00 Machine_init 0.00 0.20 0.00 1 0.00 0.00 Machine_new 0.00 0.20 0.00 1 0.00 0.00 Machine_populateTablesFromSettings 0.00 0.20 0.00 1 0.00 0.00 Machine_setTablesPanel 0.00 0.20 0.00 1 0.00 0.00 MainPanel_delete 0.00 0.20 0.00 1 0.00 0.00 MainPanel_new 0.00 0.20 0.00 1 0.00 0.00 MainPanel_printHeader 0.00 0.20 0.00 1 0.00 0.00 MainPanel_setState 0.00 0.20 0.00 1 0.00 0.00 MainPanel_updateLabels 0.00 0.20 0.00 1 0.00 0.00 MetersPanel_cleanup 0.00 0.20 0.00 1 0.00 0.00 Panel_done 0.00 0.20 0.00 1 0.00 0.00 Panel_init 0.00 0.20 0.00 1 0.00 0.00 Panel_move 0.00 0.20 0.00 1 0.00 0.00 Panel_resize 0.00 0.20 0.00 1 0.00 0.00 Platform_done 0.00 0.20 0.00 1 0.00 0.00 Platform_getMaxPid 0.00 0.20 0.00 1 0.00 0.00 Platform_init 0.00 0.20 0.00 1 0.00 0.00 Platform_setBindings 0.00 0.20 0.00 1 0.00 0.00 ProcessTable_delete 0.00 0.20 0.00 1 0.00 0.00 ProcessTable_done 0.00 0.20 0.00 1 0.00 0.00 ProcessTable_init 0.00 0.20 0.00 1 0.00 0.00 ProcessTable_new 0.00 0.20 0.00 1 0.00 0.00 Row_setPidColumnWidth 0.00 0.20 0.00 1 0.00 0.00 ScreenManager_add 0.00 0.20 0.00 1 0.00 0.00 ScreenManager_delete 0.00 0.20 0.00 1 0.00 0.00 ScreenManager_insert 0.00 0.20 0.00 1 0.00 0.00 ScreenManager_new 0.00 0.20 0.00 1 0.00 185.61 ScreenManager_run 0.00 0.20 0.00 1 0.00 0.00 Settings_delete 0.00 0.20 0.00 1 0.00 0.00 Settings_deleteColumns 0.00 0.20 0.00 1 0.00 0.00 Settings_isReadonly 0.00 0.20 0.00 1 0.00 0.00 Settings_new 0.00 0.20 0.00 1 0.00 0.00 Settings_read 0.00 0.20 0.00 1 0.00 0.00 Table_done 0.00 0.20 0.00 1 0.00 0.00 Table_init 0.00 0.20 0.00 1 0.00 0.00 Table_printHeader 0.00 0.20 0.00 1 0.00 0.00 Table_setPanel 0.00 0.20 0.00 1 0.00 0.00 UsersTable_delete 0.00 0.20 0.00 1 0.00 0.00 UsersTable_new 0.00 0.20 0.00 1 0.00 0.00 Vector_insert 0.00 0.20 0.00 1 0.00 0.00 actionQuit 0.00 0.20 0.00 1 0.00 0.00 xReallocArray % the percentage of the total running time of the time program used by this function. cumulative a running sum of the number of seconds accounted seconds for by this function and those listed above it. self the number of seconds accounted for by this seconds function alone. This is the major sort for this listing. calls the number of times this function was invoked, if this function is profiled, else blank. self the average number of milliseconds spent in this ms/call function per call, if this function is profiled, else blank. total the average number of milliseconds spent in this ms/call function and its descendents per call, if this function is profiled, else blank. name the name of the function. This is the minor sort for this listing. The index shows the location of the function in the gprof listing. If the index is in parenthesis it shows where it would appear in the gprof listing if it were to be printed. Copyright (C) 2012-2023 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. Call graph (explanation follows) granularity: each sample hit covers 2 byte(s) for 5.00% of 0.20 seconds index % time self children called name [1] 100.0 0.00 0.20 CommandLine_run [1] 0.00 0.19 1/1 ScreenManager_run [2] 0.00 0.01 2/25 Machine_scanTables [3] 0.00 0.00 2/25 Machine_scan [97] 0.00 0.00 2/25 Row_setUidColumnWidth [102] 0.00 0.00 1/1 Platform_init [198] 0.00 0.00 1/1 UsersTable_new [219] 0.00 0.00 1/1 DynamicMeters_new [168] 0.00 0.00 1/3 Hashtable_new [145] 0.00 0.00 1/1 DynamicColumns_new [166] 0.00 0.00 1/1 DynamicScreens_new [170] 0.00 0.00 1/1 Machine_new [183] 0.00 0.00 1/1 ProcessTable_new [203] 0.00 0.00 1/1 Settings_new [212] 0.00 0.00 1/1 Header_new [174] 0.00 0.00 1/1 Machine_populateTablesFromSettings [184] 0.00 0.00 1/1 Header_calculateHeight [172] 0.00 0.00 1/1 Header_populateFromSettings [175] 0.00 0.00 1/1 CRT_init [162] 0.00 0.00 1/1 MainPanel_new [187] 0.00 0.00 1/1 Machine_setTablesPanel [185] 0.00 0.00 1/2 FunctionBar_setLabel [152] 0.00 0.00 1/1 MainPanel_updateLabels [190] 0.00 0.00 1/1 MainPanel_setState [189] 0.00 0.00 1/1 ScreenManager_new [208] 0.00 0.00 1/1 ScreenManager_insert [207] 0.00 0.00 1/1 ScreenManager_add [205] 0.00 0.00 1/25 Generic_gettime_realtime [95] 0.00 0.00 1/1 CRT_done [161] 0.00 0.00 1/1 Platform_done [196] 0.00 0.00 1/1 Header_delete [173] 0.00 0.00 1/1 ScreenManager_delete [206] 0.00 0.00 1/1 Machine_delete [180] 0.00 0.00 1/1 UsersTable_delete [218] 0.00 0.00 1/1 MetersPanel_cleanup [191] 0.00 0.00 1/1 Settings_delete [209] 0.00 0.00 1/1 CRT_resetSignalHandlers [163] 0.00 0.00 1/3 Hashtable_delete [144] 0.00 0.00 1/1 DynamicColumns_delete [165] 0.00 0.00 1/1 DynamicMeters_delete [167] 0.00 0.00 1/1 DynamicScreens_delete [169] ----------------------------------------------- 0.00 0.19 1/1 CommandLine_run [1] [2] 92.8 0.00 0.19 1 ScreenManager_run [2] 0.00 0.17 23/25 Machine_scanTables [3] 0.00 0.02 23/23 Table_rebuildPanel [8] 0.00 0.00 46/46 drawTab [88] 0.00 0.00 23/25 Generic_gettime_realtime [95] 0.00 0.00 23/23 Panel_draw [118] 0.00 0.00 23/23 Panel_getCh [119] 0.00 0.00 23/25 Machine_scan [97] 0.00 0.00 23/23 Header_updateData [110] 0.00 0.00 23/25 Row_setUidColumnWidth [102] 0.00 0.00 23/23 Header_draw [109] 0.00 0.00 1/24 MainPanel_eventHandler [106] 0.00 0.00 1/1 FunctionBar_synthesizeEvent [171] ----------------------------------------------- 0.00 0.01 2/25 CommandLine_run [1] 0.00 0.17 23/25 ScreenManager_run [2] [3] 90.0 0.00 0.18 25 Machine_scanTables [3] 0.15 0.00 25/25 LinuxProcessTable_readOomData [4] 0.00 0.03 25/25 ProcessTable_cleanupEntries [6] 0.00 0.00 25/25 Row_resetFieldWidths [101] 0.00 0.00 25/25 Table_prepareEntries [103] 0.00 0.00 25/25 ProcessTable_prepareEntries [100] 0.00 0.00 25/25 ProcessTable_goThroughEntries [98] 0.00 0.00 25/25 ProcessTable_iterateEntries [99] 0.00 0.00 24/24 Generic_gettime_monotonic [105] ----------------------------------------------- 52181 LinuxProcessTable_readOomData [4] 0.15 0.00 25/25 Machine_scanTables [3] [4] 75.0 0.15 0.00 25+52181 LinuxProcessTable_readOomData [4] 0.00 0.00 58910/58910 fast_strtoll_dec.constprop.0 [18] 0.00 0.00 52181/52181 ProcessTable_getProcess [21] 0.00 0.00 12530/16782 readfd_internal [23] 0.00 0.00 12530/16710 xReadfileat [24] 0.00 0.00 7101/7101 String_safeStrncpy [30] 0.00 0.00 7101/14202 Row_updateFieldWidth [25] 0.00 0.00 7101/7101 Process_updateCPUFieldWidths [29] 0.00 0.00 7101/7101 GPUMeter_active [28] 0.00 0.00 2102/2114 insert [41] 0.00 0.00 2102/2111 Hashtable_put [42] 0.00 0.00 2102/2102 Table_add [50] 0.00 0.00 2102/2102 Process_fillStarttimeBuffer [47] 0.00 0.00 1882/1882 LinuxProcessTable_readCmdlineFile [52] 0.00 0.00 1882/1882 LinuxProcessList_readComm [51] 0.00 0.00 444/2322 Process_updateCmdline [40] 0.00 0.00 430/430 UsersTable_getRef [70] 0.00 0.00 36/36 xAsprintf [89] 52181 LinuxProcessTable_readOomData [4] ----------------------------------------------- 0.03 0.00 52200/52200 ProcessTable_cleanupEntries [6] [5] 15.0 0.03 0.00 52200 Process_makeCommandStr [5] 0.00 0.00 1886/4070 xCalloc [38] ----------------------------------------------- 0.00 0.03 25/25 Machine_scanTables [3] [6] 15.0 0.00 0.03 25 ProcessTable_cleanupEntries [6] 0.03 0.00 52200/52200 Process_makeCommandStr [5] 0.00 0.00 52200/52200 Table_cleanupRow [20] 0.00 0.00 25/25 Vector_compact [104] ----------------------------------------------- 0.01 0.01 1293233/1293233 Vector_insertionSort [10] [7] 10.0 0.01 0.01 1293233 Process_compare [7] 0.01 0.00 1293233/1293233 compareRealNumbers [11] 0.00 0.00 1293233/1293233 Process_compareByKey_Base [17] 0.00 0.00 1293233/1293233 LinuxProcess_compareByKey [16] ----------------------------------------------- 0.00 0.02 23/23 ScreenManager_run [2] [8] 10.0 0.00 0.02 23 Table_rebuildPanel [8] 0.00 0.02 23/23 Table_updateDisplayList [9] 0.00 0.00 4789/4789 Process_rowMatchesFilter [35] 0.00 0.00 4789/4789 Vector_set [36] 0.00 0.00 4789/4789 Panel_set [34] 0.00 0.00 23/23 Panel_getSelectedIndex [120] 0.00 0.00 23/23 Panel_size [123] 0.00 0.00 23/23 Panel_prune [121] 0.00 0.00 23/24 MainPanel_eventHandler [106] 0.00 0.00 23/23 Panel_setSelected [122] ----------------------------------------------- 0.00 0.02 23/23 Table_rebuildPanel [8] [9] 10.0 0.00 0.02 23 Table_updateDisplayList [9] 0.00 0.02 23/23 Vector_insertionSort [10] 0.00 0.00 47985/50094 Vector_add [22] 0.00 0.00 23/48 Vector_prune [83] ----------------------------------------------- 0.00 0.02 23/23 Table_updateDisplayList [9] [10] 10.0 0.00 0.02 23 Vector_insertionSort [10] 0.01 0.01 1293233/1293233 Process_compare [7] ----------------------------------------------- 0.01 0.00 1293233/1293233 Process_compare [7] [11] 5.0 0.01 0.00 1293233 compareRealNumbers [11] ----------------------------------------------- [12] 0.0 0.00 0.00 7+18 [12] 0.00 0.00 23 Meter_delete [116] 0.00 0.00 2 AllCPUsMeter_done [148] ----------------------------------------------- [13] 0.0 0.00 0.00 30+18 [13] 0.00 0.00 46 Meter_setMode [86] 0.00 0.00 2 CPUMeterCommonUpdateMode [150] ----------------------------------------------- [14] 0.0 0.00 0.00 7+18 [14] 0.00 0.00 23 Meter_new [117] 0.00 0.00 2 CPUMeterCommonInit [149] ----------------------------------------------- [15] 0.0 0.00 0.00 5+3 [15] 0.00 0.00 6 Vector_delete [138] 0.00 0.00 1 MainPanel_delete [186] 0.00 0.00 1 Panel_done [192] ----------------------------------------------- 0.00 0.00 1293233/1293233 Process_compare [7] [16] 0.0 0.00 0.00 1293233 LinuxProcess_compareByKey [16] ----------------------------------------------- 0.00 0.00 1293233/1293233 Process_compare [7] [17] 0.0 0.00 0.00 1293233 Process_compareByKey_Base [17] ----------------------------------------------- 0.00 0.00 58910/58910 LinuxProcessTable_readOomData [4] [18] 0.0 0.00 0.00 58910 fast_strtoll_dec.constprop.0 [18] ----------------------------------------------- 0.00 0.00 430/52611 UsersTable_getRef [70] 0.00 0.00 52181/52611 ProcessTable_getProcess [21] [19] 0.0 0.00 0.00 52611 Hashtable_get [19] ----------------------------------------------- 0.00 0.00 52200/52200 ProcessTable_cleanupEntries [6] [20] 0.0 0.00 0.00 52200 Table_cleanupRow [20] 0.00 0.00 19/19 Hashtable_remove [134] 0.00 0.00 19/19 Vector_softRemove [135] ----------------------------------------------- 0.00 0.00 52181/52181 LinuxProcessTable_readOomData [4] [21] 0.0 0.00 0.00 52181 ProcessTable_getProcess [21] 0.00 0.00 52181/52611 Hashtable_get [19] 0.00 0.00 2102/2102 LinuxProcess_new [44] ----------------------------------------------- 0.00 0.00 7/50094 Header_populateFromSettings [175] 0.00 0.00 2102/50094 Table_add [50] 0.00 0.00 47985/50094 Table_updateDisplayList [9] [22] 0.0 0.00 0.00 50094 Vector_add [22] 0.00 0.00 381/403 xReallocArrayZero [72] ----------------------------------------------- 0.00 0.00 1/16782 LinuxProcessTable_initTtyDrivers [179] 0.00 0.00 1/16782 Platform_getMaxPid [197] 0.00 0.00 23/16782 Platform_getUptime [125] 0.00 0.00 23/16782 Platform_getLoadAverage [124] 0.00 0.00 50/16782 Machine_scan [97] 0.00 0.00 390/16782 LinuxMachine_updateCPUcount [93] 0.00 0.00 1882/16782 LinuxProcessList_readComm [51] 0.00 0.00 1882/16782 LinuxProcessTable_readCmdlineFile [52] 0.00 0.00 12530/16782 LinuxProcessTable_readOomData [4] [23] 0.0 0.00 0.00 16782 readfd_internal [23] ----------------------------------------------- 0.00 0.00 416/16710 LinuxMachine_updateCPUcount [93] 0.00 0.00 1882/16710 LinuxProcessList_readComm [51] 0.00 0.00 1882/16710 LinuxProcessTable_readCmdlineFile [52] 0.00 0.00 12530/16710 LinuxProcessTable_readOomData [4] [24] 0.0 0.00 0.00 16710 xReadfileat [24] ----------------------------------------------- 0.00 0.00 7101/14202 Process_updateCPUFieldWidths [29] 0.00 0.00 7101/14202 LinuxProcessTable_readOomData [4] [25] 0.0 0.00 0.00 14202 Row_updateFieldWidth [25] ----------------------------------------------- 0.00 0.00 2/11671 Table_printHeader [216] 0.00 0.00 23/11671 RichString_writeWide [129] 0.00 0.00 920/11671 RichString_appendChr [61] 0.00 0.00 934/11671 RichString_appendWide [60] 0.00 0.00 1012/11671 RichString_appendnWideColumns [64] 0.00 0.00 3175/11671 RichString_appendAscii [39] 0.00 0.00 5605/11671 RichString_appendnAscii [33] [26] 0.0 0.00 0.00 11671 RichString_setLen [26] 0.00 0.00 185/203 xMalloc [76] ----------------------------------------------- 0.00 0.00 2/8945 RowField_alignedTitle [136] 0.00 0.00 23/8945 MemoryMeter_updateValues [115] 0.00 0.00 23/8945 SwapMeter_updateValues [130] 0.00 0.00 32/8945 CPUMeter_init [90] 0.00 0.00 46/8945 UptimeMeter_updateValues [133] 0.00 0.00 69/8945 LoadAverageMeter_display [112] 0.00 0.00 92/8945 Header_updateData [110] 0.00 0.00 92/8945 TasksMeter_display [131] 0.00 0.00 500/8945 Machine_scan [97] 0.00 0.00 506/8945 Row_printCount [67] 0.00 0.00 557/8945 Row_printTime [69] 0.00 0.00 1104/8945 CPUMeter_updateValues [73] 0.00 0.00 2863/8945 Row_printKBytes [56] 0.00 0.00 3036/8945 Process_writeField [32] [27] 0.0 0.00 0.00 8945 xSnprintf [27] ----------------------------------------------- 0.00 0.00 7101/7101 LinuxProcessTable_readOomData [4] [28] 0.0 0.00 0.00 7101 GPUMeter_active [28] ----------------------------------------------- 0.00 0.00 7101/7101 LinuxProcessTable_readOomData [4] [29] 0.0 0.00 0.00 7101 Process_updateCPUFieldWidths [29] 0.00 0.00 7101/14202 Row_updateFieldWidth [25] ----------------------------------------------- 0.00 0.00 7101/7101 LinuxProcessTable_readOomData [4] [30] 0.0 0.00 0.00 7101 String_safeStrncpy [30] ----------------------------------------------- 0.00 0.00 6578/6578 Row_display [65] [31] 0.0 0.00 0.00 6578 LinuxProcess_rowWriteField [31] 0.00 0.00 6072/6072 Process_writeField [32] 0.00 0.00 506/1518 Row_printKBytes [56] 0.00 0.00 506/506 Row_printBytes [66] ----------------------------------------------- 0.00 0.00 6072/6072 LinuxProcess_rowWriteField [31] [32] 0.0 0.00 0.00 6072 Process_writeField [32] 0.00 0.00 3037/3175 RichString_appendAscii [39] 0.00 0.00 3036/8945 xSnprintf [27] 0.00 0.00 1012/1012 Row_printPercentage [58] 0.00 0.00 1012/1518 Row_printKBytes [56] 0.00 0.00 506/506 Row_printTime [69] 0.00 0.00 506/506 Row_printLeftAlignedField [68] 0.00 0.00 506/506 Row_printCount [67] 0.00 0.00 506/506 Process_writeCommand [63] ----------------------------------------------- 0.00 0.00 69/5605 LoadAverageMeter_display [112] 0.00 0.00 92/5605 TasksMeter_display [131] 0.00 0.00 557/5605 Row_printTime [69] 0.00 0.00 2024/5605 Row_printCount [67] 0.00 0.00 2863/5605 Row_printKBytes [56] [33] 0.0 0.00 0.00 5605 RichString_appendnAscii [33] 0.00 0.00 5605/11671 RichString_setLen [26] ----------------------------------------------- 0.00 0.00 4789/4789 Table_rebuildPanel [8] [34] 0.0 0.00 0.00 4789 Panel_set [34] ----------------------------------------------- 0.00 0.00 4789/4789 Table_rebuildPanel [8] [35] 0.0 0.00 0.00 4789 Process_rowMatchesFilter [35] ----------------------------------------------- 0.00 0.00 4789/4789 Table_rebuildPanel [8] [36] 0.0 0.00 0.00 4789 Vector_set [36] 0.00 0.00 19/403 xReallocArrayZero [72] ----------------------------------------------- 0.00 0.00 2/4234 FunctionBar_setLabel [152] 0.00 0.00 2/4234 Settings_newScreen [156] 0.00 0.00 9/4234 UsersTable_getRef [70] 0.00 0.00 9/4234 LinuxProcessTable_initTtyDrivers [179] 0.00 0.00 23/4234 Meter_new [117] 0.00 0.00 34/4234 FunctionBar_new [141] 0.00 0.00 171/4234 Process_updateExe [54] 0.00 0.00 1882/4234 Process_updateComm [53] 0.00 0.00 2102/4234 Process_updateCmdline [40] [37] 0.0 0.00 0.00 4234 xStrdup [37] ----------------------------------------------- 0.00 0.00 1/4070 Header_new [174] 0.00 0.00 1/4070 MainPanel_new [187] 0.00 0.00 1/4070 Settings_read [213] 0.00 0.00 1/4070 LinuxMachine_updateCPUcount [93] 0.00 0.00 1/4070 Machine_new [183] 0.00 0.00 1/4070 ProcessTable_new [203] 0.00 0.00 2/4070 CPUMeterCommonInit [149] 0.00 0.00 2/4070 Settings_readMeterModes [157] 0.00 0.00 2/4070 Settings_newScreen [156] 0.00 0.00 3/4070 insert [41] 0.00 0.00 3/4070 Hashtable_new [145] 0.00 0.00 3/4070 Settings_new [212] 0.00 0.00 6/4070 Vector_new [139] 0.00 0.00 12/4070 FunctionBar_new [141] 0.00 0.00 43/4070 Meter_new [117] 0.00 0.00 1886/4070 Process_makeCommandStr [5] 0.00 0.00 2102/4070 LinuxProcess_new [44] [38] 0.0 0.00 0.00 4070 xCalloc [38] ----------------------------------------------- 0.00 0.00 138/3175 TasksMeter_display [131] 0.00 0.00 3037/3175 Process_writeField [32] [39] 0.0 0.00 0.00 3175 RichString_appendAscii [39] 0.00 0.00 3175/11671 RichString_setLen [26] ----------------------------------------------- 0.00 0.00 444/2322 LinuxProcessTable_readOomData [4] 0.00 0.00 1878/2322 LinuxProcessTable_readCmdlineFile [52] [40] 0.0 0.00 0.00 2322 Process_updateCmdline [40] 0.00 0.00 2102/4234 xStrdup [37] ----------------------------------------------- 1248 insert [41] 0.00 0.00 3/2114 Hashtable_put [42] 0.00 0.00 9/2114 UsersTable_getRef [70] 0.00 0.00 2102/2114 LinuxProcessTable_readOomData [4] [41] 0.0 0.00 0.00 2114+1248 insert [41] 0.00 0.00 3/4070 xCalloc [38] 1248 insert [41] ----------------------------------------------- 0.00 0.00 9/2111 UsersTable_getRef [70] 0.00 0.00 2102/2111 LinuxProcessTable_readOomData [4] [42] 0.0 0.00 0.00 2111 Hashtable_put [42] 0.00 0.00 3/2114 insert [41] ----------------------------------------------- 0.00 0.00 60/2107 Process_writeCommand [63] 0.00 0.00 2047/2107 BarMeterMode_draw [71] [43] 0.0 0.00 0.00 2107 RichString_setAttrn [43] ----------------------------------------------- 0.00 0.00 2102/2102 ProcessTable_getProcess [21] [44] 0.0 0.00 0.00 2102 LinuxProcess_new [44] 0.00 0.00 2102/4070 xCalloc [38] 0.00 0.00 2102/2102 Process_init [48] ----------------------------------------------- 0.00 0.00 19/2102 Vector_softRemove [135] 0.00 0.00 2083/2102 Vector_delete [138] [45] 0.0 0.00 0.00 2102 Process_delete [45] 0.00 0.00 2102/2102 Process_done [46] ----------------------------------------------- 0.00 0.00 2102/2102 Process_delete [45] [46] 0.0 0.00 0.00 2102 Process_done [46] ----------------------------------------------- 0.00 0.00 2102/2102 LinuxProcessTable_readOomData [4] [47] 0.0 0.00 0.00 2102 Process_fillStarttimeBuffer [47] ----------------------------------------------- 0.00 0.00 2102/2102 LinuxProcess_new [44] [48] 0.0 0.00 0.00 2102 Process_init [48] 0.00 0.00 2102/2102 Row_init [49] ----------------------------------------------- 0.00 0.00 2102/2102 Process_init [48] [49] 0.0 0.00 0.00 2102 Row_init [49] ----------------------------------------------- 0.00 0.00 2102/2102 LinuxProcessTable_readOomData [4] [50] 0.0 0.00 0.00 2102 Table_add [50] 0.00 0.00 2102/50094 Vector_add [22] ----------------------------------------------- 0.00 0.00 1882/1882 LinuxProcessTable_readOomData [4] [51] 0.0 0.00 0.00 1882 LinuxProcessList_readComm [51] 0.00 0.00 1882/16782 readfd_internal [23] 0.00 0.00 1882/16710 xReadfileat [24] 0.00 0.00 1882/1882 Process_updateComm [53] ----------------------------------------------- 0.00 0.00 1882/1882 LinuxProcessTable_readOomData [4] [52] 0.0 0.00 0.00 1882 LinuxProcessTable_readCmdlineFile [52] 0.00 0.00 1882/16782 readfd_internal [23] 0.00 0.00 1882/16710 xReadfileat [24] 0.00 0.00 1878/2322 Process_updateCmdline [40] 0.00 0.00 1842/1842 Process_updateExe [54] 0.00 0.00 1583/1583 Compat_faccessat [55] ----------------------------------------------- 0.00 0.00 1882/1882 LinuxProcessList_readComm [51] [53] 0.0 0.00 0.00 1882 Process_updateComm [53] 0.00 0.00 1882/4234 xStrdup [37] ----------------------------------------------- 0.00 0.00 1842/1842 LinuxProcessTable_readCmdlineFile [52] [54] 0.0 0.00 0.00 1842 Process_updateExe [54] 0.00 0.00 171/4234 xStrdup [37] ----------------------------------------------- 0.00 0.00 1583/1583 LinuxProcessTable_readCmdlineFile [52] [55] 0.0 0.00 0.00 1583 Compat_faccessat [55] ----------------------------------------------- 0.00 0.00 506/1518 LinuxProcess_rowWriteField [31] 0.00 0.00 1012/1518 Process_writeField [32] [56] 0.0 0.00 0.00 1518 Row_printKBytes [56] 0.00 0.00 2863/8945 xSnprintf [27] 0.00 0.00 2863/5605 RichString_appendnAscii [33] ----------------------------------------------- 0.00 0.00 23/1463 RichString_writeWide [129] 0.00 0.00 506/1463 RichString_appendnWideColumns [64] 0.00 0.00 934/1463 RichString_appendWide [60] [57] 0.0 0.00 0.00 1463 mbstowcs_nonfatal [57] ----------------------------------------------- 0.00 0.00 1012/1012 Process_writeField [32] [58] 0.0 0.00 0.00 1012 Row_printPercentage [58] ----------------------------------------------- 0.00 0.00 1/990 MainPanel_delete [186] 0.00 0.00 69/990 TextMeterMode_draw [81] 0.00 0.00 414/990 BarMeterMode_draw [71] 0.00 0.00 506/990 Panel_draw [118] [59] 0.0 0.00 0.00 990 RichString_delete [59] ----------------------------------------------- 0.00 0.00 14/934 Table_printHeader [216] 0.00 0.00 414/934 BarMeterMode_draw [71] 0.00 0.00 506/934 Process_writeCommand [63] [60] 0.0 0.00 0.00 934 RichString_appendWide [60] 0.00 0.00 934/1463 mbstowcs_nonfatal [57] 0.00 0.00 934/11671 RichString_setLen [26] ----------------------------------------------- 0.00 0.00 414/920 BarMeterMode_draw [71] 0.00 0.00 506/920 Row_printLeftAlignedField [68] [61] 0.0 0.00 0.00 920 RichString_appendChr [61] 0.00 0.00 920/11671 RichString_setLen [26] ----------------------------------------------- 0.00 0.00 506/506 Row_display [65] [62] 0.0 0.00 0.00 506 Process_rowIsHighlighted [62] ----------------------------------------------- 0.00 0.00 506/506 Process_writeField [32] [63] 0.0 0.00 0.00 506 Process_writeCommand [63] 0.00 0.00 506/934 RichString_appendWide [60] 0.00 0.00 60/2107 RichString_setAttrn [43] ----------------------------------------------- 0.00 0.00 506/506 Row_printLeftAlignedField [68] [64] 0.0 0.00 0.00 506 RichString_appendnWideColumns [64] 0.00 0.00 1012/11671 RichString_setLen [26] 0.00 0.00 506/1463 mbstowcs_nonfatal [57] ----------------------------------------------- 0.00 0.00 506/506 Panel_draw [118] [65] 0.0 0.00 0.00 506 Row_display [65] 0.00 0.00 6578/6578 LinuxProcess_rowWriteField [31] 0.00 0.00 506/506 Process_rowIsHighlighted [62] ----------------------------------------------- 0.00 0.00 506/506 LinuxProcess_rowWriteField [31] [66] 0.0 0.00 0.00 506 Row_printBytes [66] ----------------------------------------------- 0.00 0.00 506/506 Process_writeField [32] [67] 0.0 0.00 0.00 506 Row_printCount [67] 0.00 0.00 2024/5605 RichString_appendnAscii [33] 0.00 0.00 506/8945 xSnprintf [27] ----------------------------------------------- 0.00 0.00 506/506 Process_writeField [32] [68] 0.0 0.00 0.00 506 Row_printLeftAlignedField [68] 0.00 0.00 506/506 RichString_appendnWideColumns [64] 0.00 0.00 506/920 RichString_appendChr [61] ----------------------------------------------- 0.00 0.00 506/506 Process_writeField [32] [69] 0.0 0.00 0.00 506 Row_printTime [69] 0.00 0.00 557/8945 xSnprintf [27] 0.00 0.00 557/5605 RichString_appendnAscii [33] ----------------------------------------------- 0.00 0.00 430/430 LinuxProcessTable_readOomData [4] [70] 0.0 0.00 0.00 430 UsersTable_getRef [70] 0.00 0.00 430/52611 Hashtable_get [19] 0.00 0.00 9/4234 xStrdup [37] 0.00 0.00 9/2114 insert [41] 0.00 0.00 9/2111 Hashtable_put [42] ----------------------------------------------- 0.00 0.00 46/414 Header_draw [109] 0.00 0.00 368/414 SingleColCPUsMeter_draw [87] [71] 0.0 0.00 0.00 414 BarMeterMode_draw [71] 0.00 0.00 2047/2107 RichString_setAttrn [43] 0.00 0.00 414/920 RichString_appendChr [61] 0.00 0.00 414/934 RichString_appendWide [60] 0.00 0.00 414/990 RichString_delete [59] ----------------------------------------------- 0.00 0.00 3/403 LinuxMachine_updateCPUcount [93] 0.00 0.00 19/403 Vector_set [36] 0.00 0.00 381/403 Vector_add [22] [72] 0.0 0.00 0.00 403 xReallocArrayZero [72] ----------------------------------------------- 0.00 0.00 368/368 AllCPUsMeter_updateValues [84] [73] 0.0 0.00 0.00 368 CPUMeter_updateValues [73] 0.00 0.00 1104/8945 xSnprintf [27] 0.00 0.00 368/368 Platform_setCPUValues [74] ----------------------------------------------- 0.00 0.00 368/368 CPUMeter_updateValues [73] [74] 0.0 0.00 0.00 368 Platform_setCPUValues [74] 0.00 0.00 368/368 sumPositiveValues [75] ----------------------------------------------- 0.00 0.00 368/368 Platform_setCPUValues [74] [75] 0.0 0.00 0.00 368 sumPositiveValues [75] ----------------------------------------------- 0.00 0.00 1/203 IncSet_new [178] 0.00 0.00 1/203 MainPanel_new [187] 0.00 0.00 1/203 ScreenManager_new [208] 0.00 0.00 1/203 Settings_new [212] 0.00 0.00 1/203 UsersTable_new [219] 0.00 0.00 2/203 CPUMeterCommonInit [149] 0.00 0.00 2/203 Settings_newScreen [156] 0.00 0.00 3/203 Hashtable_new [145] 0.00 0.00 6/203 Vector_new [139] 0.00 0.00 185/203 RichString_setLen [26] [76] 0.0 0.00 0.00 203 xMalloc [76] ----------------------------------------------- 0.00 0.00 1/98 LinuxProcessTable_initTtyDrivers [179] 0.00 0.00 1/98 Platform_getMaxPid [197] 0.00 0.00 23/98 Platform_getUptime [125] 0.00 0.00 23/98 Platform_getLoadAverage [124] 0.00 0.00 50/98 Machine_scan [97] [77] 0.0 0.00 0.00 98 xReadfile [77] ----------------------------------------------- 0.00 0.00 23/92 MemoryMeter_updateValues [115] 0.00 0.00 23/92 SwapMeter_updateValues [130] 0.00 0.00 46/92 Header_updateData [110] [78] 0.0 0.00 0.00 92 Meter_humanUnit [78] ----------------------------------------------- 0.00 0.00 2/69 Settings_deleteColumns [210] 0.00 0.00 2/69 Settings_initScreenSettings.constprop.0 [155] 0.00 0.00 65/69 Settings_read [213] [79] 0.0 0.00 0.00 69 String_freeArray [79] ----------------------------------------------- 0.00 0.00 2/69 Settings_readMeterModes [157] 0.00 0.00 2/69 signal_safe_fprintf [158] 0.00 0.00 2/69 ScreenSettings_readFields [154] 0.00 0.00 63/69 Settings_read [213] [80] 0.0 0.00 0.00 69 String_split [80] ----------------------------------------------- 0.00 0.00 69/69 Header_draw [109] [81] 0.0 0.00 0.00 69 TextMeterMode_draw [81] 0.00 0.00 69/990 RichString_delete [59] 0.00 0.00 23/23 LoadAverageMeter_display [112] 0.00 0.00 23/23 TasksMeter_display [131] 0.00 0.00 23/23 RichString_writeWide [129] ----------------------------------------------- 0.00 0.00 64/64 Settings_read [213] [82] 0.0 0.00 0.00 64 String_readLine [82] ----------------------------------------------- 0.00 0.00 2/48 Header_populateFromSettings [175] 0.00 0.00 23/48 Panel_prune [121] 0.00 0.00 23/48 Table_updateDisplayList [9] [83] 0.0 0.00 0.00 48 Vector_prune [83] ----------------------------------------------- 0.00 0.00 46/46 Header_updateData [110] [84] 0.0 0.00 0.00 46 AllCPUsMeter_updateValues [84] 0.00 0.00 368/368 CPUMeter_updateValues [73] ----------------------------------------------- 0.00 0.00 46/46 Header_draw [109] [85] 0.0 0.00 0.00 46 DualColCPUsMeter_draw [85] ----------------------------------------------- 16 CPUMeterCommonUpdateMode [150] 0.00 0.00 7/30 Header_populateFromSettings [175] 0.00 0.00 23/30 Meter_new [117] [86] 0.0 0.00 0.00 46 Meter_setMode [86] 0.00 0.00 2/2 DualColCPUsMeter_updateMode [151] 2 CPUMeterCommonUpdateMode [150] ----------------------------------------------- 0.00 0.00 46/46 Header_draw [109] [87] 0.0 0.00 0.00 46 SingleColCPUsMeter_draw [87] 0.00 0.00 368/414 BarMeterMode_draw [71] ----------------------------------------------- 0.00 0.00 46/46 ScreenManager_run [2] [88] 0.0 0.00 0.00 46 drawTab [88] ----------------------------------------------- 0.00 0.00 36/36 LinuxProcessTable_readOomData [4] [89] 0.0 0.00 0.00 36 xAsprintf [89] ----------------------------------------------- 0.00 0.00 16/32 CPUMeterCommonInit [149] 0.00 0.00 16/32 Meter_new [117] [90] 0.0 0.00 0.00 32 CPUMeter_init [90] 0.00 0.00 32/8945 xSnprintf [27] 0.00 0.00 32/32 free_and_xStrdup [92] 0.00 0.00 32/32 Meter_setCaption [91] ----------------------------------------------- 0.00 0.00 32/32 CPUMeter_init [90] [91] 0.0 0.00 0.00 32 Meter_setCaption [91] ----------------------------------------------- 0.00 0.00 32/32 CPUMeter_init [90] [92] 0.0 0.00 0.00 32 free_and_xStrdup [92] ----------------------------------------------- 0.00 0.00 1/26 Machine_new [183] 0.00 0.00 25/26 LinuxMachine_scanCPUTime [96] [93] 0.0 0.00 0.00 26 LinuxMachine_updateCPUcount [93] 0.00 0.00 416/16710 xReadfileat [24] 0.00 0.00 390/16782 readfd_internal [23] 0.00 0.00 3/403 xReallocArrayZero [72] 0.00 0.00 1/4070 xCalloc [38] ----------------------------------------------- 0.00 0.00 4/26 Settings_read [213] 0.00 0.00 22/26 ScreenSettings_readFields [154] [94] 0.0 0.00 0.00 26 toFieldIndex [94] ----------------------------------------------- 0.00 0.00 1/25 CommandLine_run [1] 0.00 0.00 1/25 Machine_new [183] 0.00 0.00 23/25 ScreenManager_run [2] [95] 0.0 0.00 0.00 25 Generic_gettime_realtime [95] ----------------------------------------------- 0.00 0.00 25/25 Machine_scan [97] [96] 0.0 0.00 0.00 25 LinuxMachine_scanCPUTime [96] 0.00 0.00 25/26 LinuxMachine_updateCPUcount [93] ----------------------------------------------- 0.00 0.00 2/25 CommandLine_run [1] 0.00 0.00 23/25 ScreenManager_run [2] [97] 0.0 0.00 0.00 25 Machine_scan [97] 0.00 0.00 500/8945 xSnprintf [27] 0.00 0.00 50/16782 readfd_internal [23] 0.00 0.00 50/98 xReadfile [77] 0.00 0.00 25/25 LinuxMachine_scanCPUTime [96] ----------------------------------------------- 0.00 0.00 25/25 Machine_scanTables [3] [98] 0.0 0.00 0.00 25 ProcessTable_goThroughEntries [98] ----------------------------------------------- 0.00 0.00 25/25 Machine_scanTables [3] [99] 0.0 0.00 0.00 25 ProcessTable_iterateEntries [99] ----------------------------------------------- 0.00 0.00 25/25 Machine_scanTables [3] [100] 0.0 0.00 0.00 25 ProcessTable_prepareEntries [100] ----------------------------------------------- 0.00 0.00 25/25 Machine_scanTables [3] [101] 0.0 0.00 0.00 25 Row_resetFieldWidths [101] ----------------------------------------------- 0.00 0.00 2/25 CommandLine_run [1] 0.00 0.00 23/25 ScreenManager_run [2] [102] 0.0 0.00 0.00 25 Row_setUidColumnWidth [102] ----------------------------------------------- 0.00 0.00 25/25 Machine_scanTables [3] [103] 0.0 0.00 0.00 25 Table_prepareEntries [103] ----------------------------------------------- 0.00 0.00 25/25 ProcessTable_cleanupEntries [6] [104] 0.0 0.00 0.00 25 Vector_compact [104] ----------------------------------------------- 0.00 0.00 24/24 Machine_scanTables [3] [105] 0.0 0.00 0.00 24 Generic_gettime_monotonic [105] ----------------------------------------------- 0.00 0.00 1/24 ScreenManager_run [2] 0.00 0.00 23/24 Table_rebuildPanel [8] [106] 0.0 0.00 0.00 24 MainPanel_eventHandler [106] 0.00 0.00 1/1 actionQuit [221] ----------------------------------------------- 0.00 0.00 23/23 MainPanel_drawFunctionBar [114] [107] 0.0 0.00 0.00 23 FunctionBar_draw [107] ----------------------------------------------- 0.00 0.00 23/23 MainPanel_drawFunctionBar [114] [108] 0.0 0.00 0.00 23 FunctionBar_drawExtra [108] ----------------------------------------------- 0.00 0.00 23/23 ScreenManager_run [2] [109] 0.0 0.00 0.00 23 Header_draw [109] 0.00 0.00 69/69 TextMeterMode_draw [81] 0.00 0.00 46/46 SingleColCPUsMeter_draw [87] 0.00 0.00 46/46 DualColCPUsMeter_draw [85] 0.00 0.00 46/414 BarMeterMode_draw [71] ----------------------------------------------- 0.00 0.00 23/23 ScreenManager_run [2] [110] 0.0 0.00 0.00 23 Header_updateData [110] 0.00 0.00 92/8945 xSnprintf [27] 0.00 0.00 46/46 AllCPUsMeter_updateValues [84] 0.00 0.00 46/92 Meter_humanUnit [78] 0.00 0.00 23/23 UptimeMeter_updateValues [133] 0.00 0.00 23/23 LoadAverageMeter_updateValues [113] 0.00 0.00 23/23 TasksMeter_updateValues [132] 0.00 0.00 23/23 SwapMeter_updateValues [130] 0.00 0.00 23/23 MemoryMeter_updateValues [115] ----------------------------------------------- 0.00 0.00 23/23 MainPanel_drawFunctionBar [114] [111] 0.0 0.00 0.00 23 IncSet_drawBar [111] ----------------------------------------------- 0.00 0.00 23/23 TextMeterMode_draw [81] [112] 0.0 0.00 0.00 23 LoadAverageMeter_display [112] 0.00 0.00 69/8945 xSnprintf [27] 0.00 0.00 69/5605 RichString_appendnAscii [33] ----------------------------------------------- 0.00 0.00 23/23 Header_updateData [110] [113] 0.0 0.00 0.00 23 LoadAverageMeter_updateValues [113] 0.00 0.00 23/23 Platform_getLoadAverage [124] ----------------------------------------------- 0.00 0.00 23/23 Panel_draw [118] [114] 0.0 0.00 0.00 23 MainPanel_drawFunctionBar [114] 0.00 0.00 23/23 FunctionBar_drawExtra [108] 0.00 0.00 23/23 FunctionBar_draw [107] 0.00 0.00 23/23 IncSet_drawBar [111] ----------------------------------------------- 0.00 0.00 23/23 Header_updateData [110] [115] 0.0 0.00 0.00 23 MemoryMeter_updateValues [115] 0.00 0.00 23/23 Platform_setMemoryValues [126] 0.00 0.00 23/8945 xSnprintf [27] 0.00 0.00 23/92 Meter_humanUnit [78] ----------------------------------------------- 16 AllCPUsMeter_done [148] 0.00 0.00 7/7 Vector_delete [138] [116] 0.0 0.00 0.00 23 Meter_delete [116] 2 AllCPUsMeter_done [148] ----------------------------------------------- 16 CPUMeterCommonInit [149] 0.00 0.00 7/7 Header_populateFromSettings [175] [117] 0.0 0.00 0.00 23 Meter_new [117] 0.00 0.00 43/4070 xCalloc [38] 0.00 0.00 23/4234 xStrdup [37] 0.00 0.00 23/30 Meter_setMode [86] 0.00 0.00 16/32 CPUMeter_init [90] 2 CPUMeterCommonInit [149] ----------------------------------------------- 0.00 0.00 23/23 ScreenManager_run [2] [118] 0.0 0.00 0.00 23 Panel_draw [118] 0.00 0.00 506/990 RichString_delete [59] 0.00 0.00 506/506 Row_display [65] 0.00 0.00 23/23 MainPanel_drawFunctionBar [114] 0.00 0.00 23/23 RichString_setAttr [128] 0.00 0.00 1/1 Table_printHeader [216] 0.00 0.00 1/1 MainPanel_printHeader [188] ----------------------------------------------- 0.00 0.00 23/23 ScreenManager_run [2] [119] 0.0 0.00 0.00 23 Panel_getCh [119] ----------------------------------------------- 0.00 0.00 23/23 Table_rebuildPanel [8] [120] 0.0 0.00 0.00 23 Panel_getSelectedIndex [120] ----------------------------------------------- 0.00 0.00 23/23 Table_rebuildPanel [8] [121] 0.0 0.00 0.00 23 Panel_prune [121] 0.00 0.00 23/48 Vector_prune [83] ----------------------------------------------- 0.00 0.00 23/23 Table_rebuildPanel [8] [122] 0.0 0.00 0.00 23 Panel_setSelected [122] ----------------------------------------------- 0.00 0.00 23/23 Table_rebuildPanel [8] [123] 0.0 0.00 0.00 23 Panel_size [123] ----------------------------------------------- 0.00 0.00 23/23 LoadAverageMeter_updateValues [113] [124] 0.0 0.00 0.00 23 Platform_getLoadAverage [124] 0.00 0.00 23/16782 readfd_internal [23] 0.00 0.00 23/98 xReadfile [77] ----------------------------------------------- 0.00 0.00 23/23 UptimeMeter_updateValues [133] [125] 0.0 0.00 0.00 23 Platform_getUptime [125] 0.00 0.00 23/16782 readfd_internal [23] 0.00 0.00 23/98 xReadfile [77] ----------------------------------------------- 0.00 0.00 23/23 MemoryMeter_updateValues [115] [126] 0.0 0.00 0.00 23 Platform_setMemoryValues [126] ----------------------------------------------- 0.00 0.00 23/23 SwapMeter_updateValues [130] [127] 0.0 0.00 0.00 23 Platform_setSwapValues [127] ----------------------------------------------- 0.00 0.00 23/23 Panel_draw [118] [128] 0.0 0.00 0.00 23 RichString_setAttr [128] ----------------------------------------------- 0.00 0.00 23/23 TextMeterMode_draw [81] [129] 0.0 0.00 0.00 23 RichString_writeWide [129] 0.00 0.00 23/1463 mbstowcs_nonfatal [57] 0.00 0.00 23/11671 RichString_setLen [26] ----------------------------------------------- 0.00 0.00 23/23 Header_updateData [110] [130] 0.0 0.00 0.00 23 SwapMeter_updateValues [130] 0.00 0.00 23/23 Platform_setSwapValues [127] 0.00 0.00 23/8945 xSnprintf [27] 0.00 0.00 23/92 Meter_humanUnit [78] ----------------------------------------------- 0.00 0.00 23/23 TextMeterMode_draw [81] [131] 0.0 0.00 0.00 23 TasksMeter_display [131] 0.00 0.00 138/3175 RichString_appendAscii [39] 0.00 0.00 92/8945 xSnprintf [27] 0.00 0.00 92/5605 RichString_appendnAscii [33] ----------------------------------------------- 0.00 0.00 23/23 Header_updateData [110] [132] 0.0 0.00 0.00 23 TasksMeter_updateValues [132] ----------------------------------------------- 0.00 0.00 23/23 Header_updateData [110] [133] 0.0 0.00 0.00 23 UptimeMeter_updateValues [133] 0.00 0.00 46/8945 xSnprintf [27] 0.00 0.00 23/23 Platform_getUptime [125] ----------------------------------------------- 0.00 0.00 19/19 Table_cleanupRow [20] [134] 0.0 0.00 0.00 19 Hashtable_remove [134] ----------------------------------------------- 0.00 0.00 19/19 Table_cleanupRow [20] [135] 0.0 0.00 0.00 19 Vector_softRemove [135] 0.00 0.00 19/2102 Process_delete [45] ----------------------------------------------- 0.00 0.00 13/13 Table_printHeader [216] [136] 0.0 0.00 0.00 13 RowField_alignedTitle [136] 0.00 0.00 2/8945 xSnprintf [27] ----------------------------------------------- 0.00 0.00 2/6 Settings_readMeterModes [157] 0.00 0.00 2/6 signal_safe_fprintf [158] 0.00 0.00 2/6 ScreenSettings_readFields [154] [137] 0.0 0.00 0.00 6 String_trim [137] ----------------------------------------------- 1 Panel_done [192] 0.00 0.00 1/5 ScreenManager_delete [206] 0.00 0.00 1/5 Table_done [214] 0.00 0.00 1/5 ProcessTable_delete [200] 0.00 0.00 2/5 Header_delete [173] [138] 0.0 0.00 0.00 6 Vector_delete [138] 0.00 0.00 2083/2102 Process_delete [45] 0.00 0.00 7/7 Meter_delete [116] 1 MainPanel_delete [186] ----------------------------------------------- 0.00 0.00 1/6 Panel_init [193] 0.00 0.00 1/6 ScreenManager_new [208] 0.00 0.00 2/6 Header_new [174] 0.00 0.00 2/6 Table_init [215] [139] 0.0 0.00 0.00 6 Vector_new [139] 0.00 0.00 6/203 xMalloc [76] 0.00 0.00 6/4070 xCalloc [38] ----------------------------------------------- 0.00 0.00 1/4 MainPanel_delete [186] 0.00 0.00 1/4 Panel_done [192] 0.00 0.00 2/4 IncSet_delete [177] [140] 0.0 0.00 0.00 4 FunctionBar_delete [140] ----------------------------------------------- 0.00 0.00 2/4 IncSet_new [178] 0.00 0.00 2/4 MainPanel_new [187] [141] 0.0 0.00 0.00 4 FunctionBar_new [141] 0.00 0.00 34/4234 xStrdup [37] 0.00 0.00 12/4070 xCalloc [38] ----------------------------------------------- 0.00 0.00 4/4 Settings_new [212] [142] 0.0 0.00 0.00 4 String_cat [142] ----------------------------------------------- 0.00 0.00 3/3 Hashtable_delete [144] [143] 0.0 0.00 0.00 3 Hashtable_clear [143] ----------------------------------------------- 0.00 0.00 1/3 CommandLine_run [1] 0.00 0.00 1/3 Table_done [214] 0.00 0.00 1/3 UsersTable_delete [218] [144] 0.0 0.00 0.00 3 Hashtable_delete [144] 0.00 0.00 3/3 Hashtable_clear [143] ----------------------------------------------- 0.00 0.00 1/3 CommandLine_run [1] 0.00 0.00 1/3 Table_init [215] 0.00 0.00 1/3 UsersTable_new [219] [145] 0.0 0.00 0.00 3 Hashtable_new [145] 0.00 0.00 3/203 xMalloc [76] 0.00 0.00 3/4070 xCalloc [38] ----------------------------------------------- 0.00 0.00 3/3 Header_calculateHeight [172] [146] 0.0 0.00 0.00 3 Object_isA [146] ----------------------------------------------- 0.00 0.00 1/3 LinuxProcessTable_initTtyDrivers [179] 0.00 0.00 2/3 Settings_initScreenSettings.constprop.0 [155] [147] 0.0 0.00 0.00 3 xRealloc [147] ----------------------------------------------- 2 Meter_delete [116] [148] 0.0 0.00 0.00 2 AllCPUsMeter_done [148] 16 Meter_delete [116] ----------------------------------------------- 2 Meter_new [117] [149] 0.0 0.00 0.00 2 CPUMeterCommonInit [149] 0.00 0.00 16/32 CPUMeter_init [90] 0.00 0.00 2/203 xMalloc [76] 0.00 0.00 2/4070 xCalloc [38] 16 Meter_new [117] ----------------------------------------------- 2 Meter_setMode [86] [150] 0.0 0.00 0.00 2 CPUMeterCommonUpdateMode [150] 16 Meter_setMode [86] ----------------------------------------------- 0.00 0.00 2/2 Meter_setMode [86] [151] 0.0 0.00 0.00 2 DualColCPUsMeter_updateMode [151] ----------------------------------------------- 0.00 0.00 1/2 CommandLine_run [1] 0.00 0.00 1/2 MainPanel_updateLabels [190] [152] 0.0 0.00 0.00 2 FunctionBar_setLabel [152] 0.00 0.00 2/4234 xStrdup [37] ----------------------------------------------- 0.00 0.00 2/2 Table_printHeader [216] [153] 0.0 0.00 0.00 2 RichString_rewind [153] ----------------------------------------------- 0.00 0.00 2/2 Settings_initScreenSettings.constprop.0 [155] [154] 0.0 0.00 0.00 2 ScreenSettings_readFields [154] 0.00 0.00 22/26 toFieldIndex [94] 0.00 0.00 2/6 String_trim [137] 0.00 0.00 2/69 String_split [80] ----------------------------------------------- 0.00 0.00 2/2 Settings_read [213] [155] 0.0 0.00 0.00 2 Settings_initScreenSettings.constprop.0 [155] 0.00 0.00 2/69 String_freeArray [79] 0.00 0.00 2/2 ScreenSettings_readFields [154] 0.00 0.00 2/3 xRealloc [147] ----------------------------------------------- 0.00 0.00 2/2 Settings_read [213] [156] 0.0 0.00 0.00 2 Settings_newScreen [156] 0.00 0.00 2/203 xMalloc [76] 0.00 0.00 2/4234 xStrdup [37] 0.00 0.00 2/4070 xCalloc [38] ----------------------------------------------- 0.00 0.00 2/2 Settings_read [213] [157] 0.0 0.00 0.00 2 Settings_readMeterModes [157] 0.00 0.00 2/6 String_trim [137] 0.00 0.00 2/69 String_split [80] 0.00 0.00 2/4070 xCalloc [38] ----------------------------------------------- 0.00 0.00 2/2 Settings_read [213] [158] 0.0 0.00 0.00 2 signal_safe_fprintf [158] 0.00 0.00 2/6 String_trim [137] 0.00 0.00 2/69 String_split [80] ----------------------------------------------- 0.00 0.00 1/2 Header_new [174] 0.00 0.00 1/2 LinuxProcessTable_initTtyDrivers [179] [159] 0.0 0.00 0.00 2 xMallocArray [159] ----------------------------------------------- 0.00 0.00 1/1 MainPanel_new [187] [160] 0.0 0.00 0.00 1 Action_setBindings [160] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [161] 0.0 0.00 0.00 1 CRT_done [161] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [162] 0.0 0.00 0.00 1 CRT_init [162] 0.00 0.00 1/1 CRT_setColors [164] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [163] 0.0 0.00 0.00 1 CRT_resetSignalHandlers [163] ----------------------------------------------- 0.00 0.00 1/1 CRT_init [162] [164] 0.0 0.00 0.00 1 CRT_setColors [164] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [165] 0.0 0.00 0.00 1 DynamicColumns_delete [165] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [166] 0.0 0.00 0.00 1 DynamicColumns_new [166] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [167] 0.0 0.00 0.00 1 DynamicMeters_delete [167] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [168] 0.0 0.00 0.00 1 DynamicMeters_new [168] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [169] 0.0 0.00 0.00 1 DynamicScreens_delete [169] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [170] 0.0 0.00 0.00 1 DynamicScreens_new [170] ----------------------------------------------- 0.00 0.00 1/1 ScreenManager_run [2] [171] 0.0 0.00 0.00 1 FunctionBar_synthesizeEvent [171] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [172] 0.0 0.00 0.00 1 Header_calculateHeight [172] 0.00 0.00 3/3 Object_isA [146] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [173] 0.0 0.00 0.00 1 Header_delete [173] 0.00 0.00 2/5 Vector_delete [138] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [174] 0.0 0.00 0.00 1 Header_new [174] 0.00 0.00 2/6 Vector_new [139] 0.00 0.00 1/4070 xCalloc [38] 0.00 0.00 1/2 xMallocArray [159] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [175] 0.0 0.00 0.00 1 Header_populateFromSettings [175] 0.00 0.00 7/7 Meter_new [117] 0.00 0.00 7/50094 Vector_add [22] 0.00 0.00 7/30 Meter_setMode [86] 0.00 0.00 2/48 Vector_prune [83] 0.00 0.00 1/1 Header_setLayout [176] ----------------------------------------------- 0.00 0.00 1/1 Header_populateFromSettings [175] [176] 0.0 0.00 0.00 1 Header_setLayout [176] ----------------------------------------------- 0.00 0.00 1/1 MainPanel_delete [186] [177] 0.0 0.00 0.00 1 IncSet_delete [177] 0.00 0.00 2/4 FunctionBar_delete [140] ----------------------------------------------- 0.00 0.00 1/1 MainPanel_new [187] [178] 0.0 0.00 0.00 1 IncSet_new [178] 0.00 0.00 2/4 FunctionBar_new [141] 0.00 0.00 1/203 xMalloc [76] ----------------------------------------------- 0.00 0.00 1/1 ProcessTable_new [203] [179] 0.0 0.00 0.00 1 LinuxProcessTable_initTtyDrivers [179] 0.00 0.00 9/4234 xStrdup [37] 0.00 0.00 1/16782 readfd_internal [23] 0.00 0.00 1/98 xReadfile [77] 0.00 0.00 1/2 xMallocArray [159] 0.00 0.00 1/3 xRealloc [147] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [180] 0.0 0.00 0.00 1 Machine_delete [180] 0.00 0.00 1/1 Machine_done [181] ----------------------------------------------- 0.00 0.00 1/1 Machine_delete [180] [181] 0.0 0.00 0.00 1 Machine_done [181] 0.00 0.00 1/1 ProcessTable_delete [200] ----------------------------------------------- 0.00 0.00 1/1 Machine_new [183] [182] 0.0 0.00 0.00 1 Machine_init [182] 0.00 0.00 1/1 Platform_getMaxPid [197] 0.00 0.00 1/1 Row_setPidColumnWidth [204] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [183] 0.0 0.00 0.00 1 Machine_new [183] 0.00 0.00 1/4070 xCalloc [38] 0.00 0.00 1/25 Generic_gettime_realtime [95] 0.00 0.00 1/1 Machine_init [182] 0.00 0.00 1/26 LinuxMachine_updateCPUcount [93] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [184] 0.0 0.00 0.00 1 Machine_populateTablesFromSettings [184] 0.00 0.00 1/1 xReallocArray [222] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [185] 0.0 0.00 0.00 1 Machine_setTablesPanel [185] 0.00 0.00 1/1 Table_setPanel [217] ----------------------------------------------- 1 Vector_delete [138] [186] 0.0 0.00 0.00 1 MainPanel_delete [186] 0.00 0.00 1/990 RichString_delete [59] 0.00 0.00 1/4 FunctionBar_delete [140] 0.00 0.00 1/1 IncSet_delete [177] 1 Panel_done [192] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [187] 0.0 0.00 0.00 1 MainPanel_new [187] 0.00 0.00 2/4 FunctionBar_new [141] 0.00 0.00 1/203 xMalloc [76] 0.00 0.00 1/1 Settings_isReadonly [211] 0.00 0.00 1/4070 xCalloc [38] 0.00 0.00 1/1 Panel_init [193] 0.00 0.00 1/1 IncSet_new [178] 0.00 0.00 1/1 Platform_setBindings [199] 0.00 0.00 1/1 Action_setBindings [160] ----------------------------------------------- 0.00 0.00 1/1 Panel_draw [118] [188] 0.0 0.00 0.00 1 MainPanel_printHeader [188] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [189] 0.0 0.00 0.00 1 MainPanel_setState [189] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [190] 0.0 0.00 0.00 1 MainPanel_updateLabels [190] 0.00 0.00 1/2 FunctionBar_setLabel [152] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [191] 0.0 0.00 0.00 1 MetersPanel_cleanup [191] ----------------------------------------------- 1 MainPanel_delete [186] [192] 0.0 0.00 0.00 1 Panel_done [192] 0.00 0.00 1/4 FunctionBar_delete [140] 1 Vector_delete [138] ----------------------------------------------- 0.00 0.00 1/1 MainPanel_new [187] [193] 0.0 0.00 0.00 1 Panel_init [193] 0.00 0.00 1/6 Vector_new [139] ----------------------------------------------- 0.00 0.00 1/1 ScreenManager_insert [207] [194] 0.0 0.00 0.00 1 Panel_move [194] ----------------------------------------------- 0.00 0.00 1/1 ScreenManager_insert [207] [195] 0.0 0.00 0.00 1 Panel_resize [195] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [196] 0.0 0.00 0.00 1 Platform_done [196] ----------------------------------------------- 0.00 0.00 1/1 Machine_init [182] [197] 0.0 0.00 0.00 1 Platform_getMaxPid [197] 0.00 0.00 1/16782 readfd_internal [23] 0.00 0.00 1/98 xReadfile [77] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [198] 0.0 0.00 0.00 1 Platform_init [198] ----------------------------------------------- 0.00 0.00 1/1 MainPanel_new [187] [199] 0.0 0.00 0.00 1 Platform_setBindings [199] ----------------------------------------------- 0.00 0.00 1/1 Machine_done [181] [200] 0.0 0.00 0.00 1 ProcessTable_delete [200] 0.00 0.00 1/5 Vector_delete [138] 0.00 0.00 1/1 Table_done [214] 0.00 0.00 1/1 ProcessTable_done [201] ----------------------------------------------- 0.00 0.00 1/1 ProcessTable_delete [200] [201] 0.0 0.00 0.00 1 ProcessTable_done [201] ----------------------------------------------- 0.00 0.00 1/1 ProcessTable_new [203] [202] 0.0 0.00 0.00 1 ProcessTable_init [202] 0.00 0.00 1/1 Table_init [215] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [203] 0.0 0.00 0.00 1 ProcessTable_new [203] 0.00 0.00 1/4070 xCalloc [38] 0.00 0.00 1/1 ProcessTable_init [202] 0.00 0.00 1/1 LinuxProcessTable_initTtyDrivers [179] ----------------------------------------------- 0.00 0.00 1/1 Machine_init [182] [204] 0.0 0.00 0.00 1 Row_setPidColumnWidth [204] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [205] 0.0 0.00 0.00 1 ScreenManager_add [205] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [206] 0.0 0.00 0.00 1 ScreenManager_delete [206] 0.00 0.00 1/5 Vector_delete [138] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [207] 0.0 0.00 0.00 1 ScreenManager_insert [207] 0.00 0.00 1/1 Panel_resize [195] 0.00 0.00 1/1 Panel_move [194] 0.00 0.00 1/1 Vector_insert [220] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [208] 0.0 0.00 0.00 1 ScreenManager_new [208] 0.00 0.00 1/203 xMalloc [76] 0.00 0.00 1/6 Vector_new [139] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [209] 0.0 0.00 0.00 1 Settings_delete [209] 0.00 0.00 1/1 Settings_deleteColumns [210] ----------------------------------------------- 0.00 0.00 1/1 Settings_delete [209] [210] 0.0 0.00 0.00 1 Settings_deleteColumns [210] 0.00 0.00 2/69 String_freeArray [79] ----------------------------------------------- 0.00 0.00 1/1 MainPanel_new [187] [211] 0.0 0.00 0.00 1 Settings_isReadonly [211] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [212] 0.0 0.00 0.00 1 Settings_new [212] 0.00 0.00 4/4 String_cat [142] 0.00 0.00 3/4070 xCalloc [38] 0.00 0.00 1/203 xMalloc [76] 0.00 0.00 1/1 Settings_read [213] ----------------------------------------------- 0.00 0.00 1/1 Settings_new [212] [213] 0.0 0.00 0.00 1 Settings_read [213] 0.00 0.00 65/69 String_freeArray [79] 0.00 0.00 64/64 String_readLine [82] 0.00 0.00 63/69 String_split [80] 0.00 0.00 4/26 toFieldIndex [94] 0.00 0.00 2/2 Settings_initScreenSettings.constprop.0 [155] 0.00 0.00 2/2 Settings_newScreen [156] 0.00 0.00 2/2 Settings_readMeterModes [157] 0.00 0.00 2/2 signal_safe_fprintf [158] 0.00 0.00 1/4070 xCalloc [38] ----------------------------------------------- 0.00 0.00 1/1 ProcessTable_delete [200] [214] 0.0 0.00 0.00 1 Table_done [214] 0.00 0.00 1/3 Hashtable_delete [144] 0.00 0.00 1/5 Vector_delete [138] ----------------------------------------------- 0.00 0.00 1/1 ProcessTable_init [202] [215] 0.0 0.00 0.00 1 Table_init [215] 0.00 0.00 2/6 Vector_new [139] 0.00 0.00 1/3 Hashtable_new [145] ----------------------------------------------- 0.00 0.00 1/1 Panel_draw [118] [216] 0.0 0.00 0.00 1 Table_printHeader [216] 0.00 0.00 14/934 RichString_appendWide [60] 0.00 0.00 13/13 RowField_alignedTitle [136] 0.00 0.00 2/11671 RichString_setLen [26] 0.00 0.00 2/2 RichString_rewind [153] ----------------------------------------------- 0.00 0.00 1/1 Machine_setTablesPanel [185] [217] 0.0 0.00 0.00 1 Table_setPanel [217] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [218] 0.0 0.00 0.00 1 UsersTable_delete [218] 0.00 0.00 1/3 Hashtable_delete [144] ----------------------------------------------- 0.00 0.00 1/1 CommandLine_run [1] [219] 0.0 0.00 0.00 1 UsersTable_new [219] 0.00 0.00 1/203 xMalloc [76] 0.00 0.00 1/3 Hashtable_new [145] ----------------------------------------------- 0.00 0.00 1/1 ScreenManager_insert [207] [220] 0.0 0.00 0.00 1 Vector_insert [220] ----------------------------------------------- 0.00 0.00 1/1 MainPanel_eventHandler [106] [221] 0.0 0.00 0.00 1 actionQuit [221] ----------------------------------------------- 0.00 0.00 1/1 Machine_populateTablesFromSettings [184] [222] 0.0 0.00 0.00 1 xReallocArray [222] ----------------------------------------------- This table describes the call tree of the program, and was sorted by the total amount of time spent in each function and its children. Each entry in this table consists of several lines. The line with the index number at the left hand margin lists the current function. The lines above it list the functions that called this function, and the lines below it list the functions this one called. This line lists: index A unique number given to each element of the table. Index numbers are sorted numerically. The index number is printed next to every function name so it is easier to look up where the function is in the table. % time This is the percentage of the `total' time that was spent in this function and its children. Note that due to different viewpoints, functions excluded by options, etc, these numbers will NOT add up to 100%. self This is the total amount of time spent in this function. children This is the total amount of time propagated into this function by its children. called This is the number of times the function was called. If the function called itself recursively, the number only includes non-recursive calls, and is followed by a `+' and the number of recursive calls. name The name of the current function. The index number is printed after it. If the function is a member of a cycle, the cycle number is printed between the function's name and the index number. For the function's parents, the fields have the following meanings: self This is the amount of time that was propagated directly from the function into this parent. children This is the amount of time that was propagated from the function's children into this parent. called This is the number of times this parent called the function `/' the total number of times the function was called. Recursive calls to the function are not included in the number after the `/'. name This is the name of the parent. The parent's index number is printed after it. If the parent is a member of a cycle, the cycle number is printed between the name and the index number. If the parents of the function cannot be determined, the word `' is printed in the `name' field, and all the other fields are blank. For the function's children, the fields have the following meanings: self This is the amount of time that was propagated directly from the child into the function. children This is the amount of time that was propagated from the child's children to the function. called This is the number of times the function called this child `/' the total number of times the child was called. Recursive calls by the child are not listed in the number after the `/'. name This is the name of the child. The child's index number is printed after it. If the child is a member of a cycle, the cycle number is printed between the name and the index number. If there are any cycles (circles) in the call graph, there is an entry for the cycle-as-a-whole. This entry shows who called the cycle (as parents) and the members of the cycle (as children.) The `+' recursive calls entry shows the number of function calls that were internal to the cycle, and the calls entry for each member shows, for that member, how many times it was called from other members of the cycle. Copyright (C) 2012-2023 Free Software Foundation, Inc. Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. Index by function name [160] Action_setBindings [78] Meter_humanUnit [205] ScreenManager_add [148] AllCPUsMeter_done (CPUMeter.c) [117] Meter_new [206] ScreenManager_delete [84] AllCPUsMeter_updateValues (CPUMeter.c) [91] Meter_setCaption [207] ScreenManager_insert [71] BarMeterMode_draw (Meter.c) [86] Meter_setMode [208] ScreenManager_new [149] CPUMeterCommonInit (CPUMeter.c) [191] MetersPanel_cleanup [2] ScreenManager_run [150] CPUMeterCommonUpdateMode (CPUMeter.c) [146] Object_isA [154] ScreenSettings_readFields (Settings.c) [90] CPUMeter_init (CPUMeter.c) [192] Panel_done [209] Settings_delete [73] CPUMeter_updateValues (CPUMeter.c) [118] Panel_draw [210] Settings_deleteColumns (Settings.c) [161] CRT_done [119] Panel_getCh [155] Settings_initScreenSettings.constprop.0 (Settings.c) [162] CRT_init [120] Panel_getSelectedIndex [211] Settings_isReadonly [163] CRT_resetSignalHandlers [193] Panel_init [212] Settings_new [164] CRT_setColors [194] Panel_move [156] Settings_newScreen [55] Compat_faccessat [121] Panel_prune [213] Settings_read (Settings.c) [85] DualColCPUsMeter_draw (CPUMeter.c) [195] Panel_resize [157] Settings_readMeterModes (Settings.c) [151] DualColCPUsMeter_updateMode (CPUMeter.c) [34] Panel_set [87] SingleColCPUsMeter_draw (CPUMeter.c) [165] DynamicColumns_delete [122] Panel_setSelected [142] String_cat [166] DynamicColumns_new [123] Panel_size [79] String_freeArray [167] DynamicMeters_delete [196] Platform_done [82] String_readLine [168] DynamicMeters_new [124] Platform_getLoadAverage [30] String_safeStrncpy [169] DynamicScreens_delete [197] Platform_getMaxPid [80] String_split [170] DynamicScreens_new [125] Platform_getUptime [137] String_trim [140] FunctionBar_delete [198] Platform_init [130] SwapMeter_updateValues (SwapMeter.c) [107] FunctionBar_draw [199] Platform_setBindings [50] Table_add [108] FunctionBar_drawExtra [74] Platform_setCPUValues [20] Table_cleanupRow [141] FunctionBar_new [126] Platform_setMemoryValues [214] Table_done [152] FunctionBar_setLabel [127] Platform_setSwapValues [215] Table_init [171] FunctionBar_synthesizeEvent [6] ProcessTable_cleanupEntries (ProcessTable.c) [103] Table_prepareEntries [28] GPUMeter_active [200] ProcessTable_delete [216] Table_printHeader [105] Generic_gettime_monotonic [201] ProcessTable_done [8] Table_rebuildPanel [95] Generic_gettime_realtime [21] ProcessTable_getProcess [217] Table_setPanel [143] Hashtable_clear [98] ProcessTable_goThroughEntries [9] Table_updateDisplayList [144] Hashtable_delete [202] ProcessTable_init [131] TasksMeter_display (TasksMeter.c) [19] Hashtable_get [99] ProcessTable_iterateEntries (ProcessTable.c) [132] TasksMeter_updateValues (TasksMeter.c) [145] Hashtable_new [203] ProcessTable_new [81] TextMeterMode_draw (Meter.c) [42] Hashtable_put [100] ProcessTable_prepareEntries (ProcessTable.c) [133] UptimeMeter_updateValues (UptimeMeter.c) [134] Hashtable_remove [7] Process_compare [218] UsersTable_delete [172] Header_calculateHeight [17] Process_compareByKey_Base [70] UsersTable_getRef [173] Header_delete [45] Process_delete [219] UsersTable_new [109] Header_draw [46] Process_done [22] Vector_add [174] Header_new [47] Process_fillStarttimeBuffer [104] Vector_compact [175] Header_populateFromSettings [48] Process_init [138] Vector_delete [176] Header_setLayout [5] Process_makeCommandStr [220] Vector_insert [110] Header_updateData [62] Process_rowIsHighlighted [10] Vector_insertionSort [177] IncSet_delete [35] Process_rowMatchesFilter [139] Vector_new [111] IncSet_drawBar [29] Process_updateCPUFieldWidths [83] Vector_prune [178] IncSet_new [40] Process_updateCmdline [36] Vector_set [96] LinuxMachine_scanCPUTime (LinuxMachine.c) [53] Process_updateComm [135] Vector_softRemove [93] LinuxMachine_updateCPUcount (LinuxMachine.c) [54] Process_updateExe [221] actionQuit (Action.c) [51] LinuxProcessList_readComm (LinuxProcessTable.c) [63] Process_writeCommand [11] compareRealNumbers [179] LinuxProcessTable_initTtyDrivers (LinuxProcessTable.c) [32] Process_writeField [88] drawTab (ScreenManager.c) [52] LinuxProcessTable_readCmdlineFile (LinuxProcessTable.c) [39] RichString_appendAscii [18] fast_strtoll_dec.constprop.0 (LinuxProcessTable.c) [4] LinuxProcessTable_readOomData (LinuxProcessTable.c) [61] RichString_appendChr [92] free_and_xStrdup [16] LinuxProcess_compareByKey (LinuxProcess.c) [60] RichString_appendWide [41] insert (Hashtable.c) [44] LinuxProcess_new [33] RichString_appendnAscii [57] mbstowcs_nonfatal (RichString.c) [31] LinuxProcess_rowWriteField (LinuxProcess.c) [64] RichString_appendnWideColumns [23] readfd_internal (XUtils.c) [112] LoadAverageMeter_display (LoadAverageMeter.c) [59] RichString_delete [158] signal_safe_fprintf (Settings.c) [113] LoadAverageMeter_updateValues (LoadAverageMeter.c) [153] RichString_rewind [75] sumPositiveValues [180] Machine_delete [128] RichString_setAttr [94] toFieldIndex (Settings.c) [181] Machine_done [43] RichString_setAttrn [89] xAsprintf [182] Machine_init [26] RichString_setLen (RichString.c) [38] xCalloc [183] Machine_new [129] RichString_writeWide [76] xMalloc [184] Machine_populateTablesFromSettings [136] RowField_alignedTitle [159] xMallocArray [97] Machine_scan [65] Row_display [77] xReadfile [3] Machine_scanTables [49] Row_init [24] xReadfileat [185] Machine_setTablesPanel [66] Row_printBytes [147] xRealloc [186] MainPanel_delete [67] Row_printCount [222] xReallocArray [114] MainPanel_drawFunctionBar (MainPanel.c) [56] Row_printKBytes [72] xReallocArrayZero [106] MainPanel_eventHandler (MainPanel.c) [68] Row_printLeftAlignedField [27] xSnprintf [187] MainPanel_new [58] Row_printPercentage [37] xStrdup [188] MainPanel_printHeader (MainPanel.c) [69] Row_printTime [12] [189] MainPanel_setState [101] Row_resetFieldWidths [13] [190] MainPanel_updateLabels [204] Row_setPidColumnWidth [14] [115] MemoryMeter_updateValues (MemoryMeter.c) [102] Row_setUidColumnWidth [15] [116] Meter_delete [25] Row_updateFieldWidth ```

ivanstepanovftw commented 2 months ago

This fixes high load:

Subject: [PATCH] Commented function
---
Index: linux/LinuxProcessTable.c
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
diff --git a/linux/LinuxProcessTable.c b/linux/LinuxProcessTable.c
--- a/linux/LinuxProcessTable.c (revision fc54b885ef75b8edacc4a9758f29b51e16025d34)
+++ b/linux/LinuxProcessTable.c (date 1725503862876)
@@ -629,6 +629,7 @@
  * Read /proc/<pid>/maps (process-shared data)
  */
 static void LinuxProcessTable_readMaps(LinuxProcess* process, openat_arg_t procFd, const LinuxMachine* host, bool calcSize, bool checkDeletedLib) {
+   return;
    Process* proc = (Process*)process;

    proc->usesDeletedLib = false;

image

ivanstepanovftw commented 2 months ago

Before fix image

Maybe changing buffer size will help, but I do not care. So htop relays on procfs? But why it even reads /maps?

BenBE commented 2 months ago

There are two reasons for reading /proc/<pid>/maps:

  1. Library Sizes (size of shared libraries used by the process), which is not provided by the kernel since ancient times
  2. Process up-to-date marking (highlighting processes where binaries like libraries have been replaced, e.g. by an update)

The problem with these is BTW not the routine itself, but that the kernel is slow in providing these information. The parsing of these lines is already heavily optimized to avoid slow libc functions where ever possible.

ivanstepanovftw commented 2 months ago

Nice useful features! Can I disable them?

BenBE commented 2 months ago

Yes.

  1. Library Size accounting is automatically disabled, when the corresponding column is not shown
  2. Up-to-date marking can be configured on the setup screen under Display Options using the checkbox labelled "Highlight out-dated/removed programs (red) / libraries (yellow)"
ivanstepanovftw commented 2 months ago

Unchecking "Highlight out-dated/removed programs (red) / libraries (yellow)" is the solution of this issue for me!

schumischumi commented 1 month ago

For me unchecking "Highlight out-dated/removed programs (red) / libraries (yellow)" only reduces the cpu load. If the feature is enabled htop shows 50% cpu load and after disabling it it's about 30%. htop 3.3.0 Operating System: Fedora Linux 40 KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.6.0 Qt Version: 6.7.2 Kernel Version: 6.10.10-200.fc40.x86_64 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-4790 CPU @ 3.60GHz Memory: 15.5 GiB of RAM Graphics Processor: AMD Radeon RX 5700 Manufacturer: ASUS Product Name: All Series

webcaptcha commented 1 month ago

Sorry for some delay from my side. Here in Ukraine the life is funny

webcaptcha commented 1 month ago

with option "Highlight out-dated/removed programs (red) / libraries (yellow)" disabled Screenshot_20240926_112024 wtih enabled Screenshot_20240926_112054

Not much differences

webcaptcha commented 1 month ago

Here is my config

config ``` # Beware! This file is rewritten by htop when settings are changed in the interface. # The parser is also very primitive, and not human-friendly. htop_version=3.3.0 config_reader_min_version=3 fields=0 48 17 18 38 39 40 2 46 47 49 1 hide_kernel_threads=1 hide_userland_threads=0 hide_running_in_container=0 shadow_other_users=0 show_thread_names=0 show_program_path=1 highlight_base_name=0 highlight_deleted_exe=1 shadow_distribution_path_prefix=0 highlight_megabytes=1 highlight_threads=1 highlight_changes=0 highlight_changes_delay_secs=5 find_comm_in_cmdline=1 strip_exe_from_cmdline=1 show_merged_command=0 header_margin=1 screen_tabs=1 detailed_cpu_time=0 cpu_count_from_one=0 show_cpu_usage=1 show_cpu_frequency=0 show_cpu_temperature=0 degree_fahrenheit=0 update_process_names=0 account_guest_in_cpu_meter=0 color_scheme=0 enable_mouse=1 delay=15 hide_function_bar=0 header_layout=two_50_50 column_meters_0=LeftCPUs2 Memory Swap column_meter_modes_0=1 1 1 column_meters_1=RightCPUs2 Tasks LoadAverage Uptime column_meter_modes_1=1 2 2 2 tree_view=0 sort_key=46 tree_sort_key=0 sort_direction=-1 tree_sort_direction=1 tree_view_always_by_pid=0 all_branches_collapsed=0 screen:Main=PID USER PRIORITY NICE M_VIRT M_RESIDENT M_SHARE STATE PERCENT_CPU PERCENT_MEM TIME Command .sort_key=PERCENT_CPU .tree_sort_key=PID .tree_view_always_by_pid=0 .tree_view=0 .sort_direction=-1 .tree_sort_direction=1 .all_branches_collapsed=0 screen:I/O=PID USER IO_PRIORITY IO_RATE IO_READ_RATE IO_WRITE_RATE PERCENT_SWAP_DELAY PERCENT_IO_DELAY Command .sort_key=IO_RATE .tree_sort_key=PID .tree_view_always_by_pid=0 .tree_view=0 .sort_direction=-1 .tree_sort_direction=1 .all_branches_collapsed=0 ```
BenBE commented 1 month ago

Does hitting Shift+H (disable showing threads) help?

webcaptcha commented 1 month ago

Does hitting Shift+H (disable showing threads) help?

cpu consumption reduces by 2, was about 11-14, with shigt+h its 5-7