- 08 9月, 2020 4 次提交
-
-
由 nocjj 提交于
Add enable-debug option ad secure-build option to configure.ac. enable-debug: add "-g -O0" to CFLAGS secure-build: add secure compile option Signed-off-by: NJiajun Chen <1250062498@qq.com>
-
由 nocjj 提交于
If the display is out of bounds, the part beyond boundary is no longer displayed. This is obviously a problem. So add key up/down left/right to move the screen, and then the hidden part can also be displayed. Signed-off-by: NJiajun Chen <1250062498@qq.com>
-
由 nocjj 提交于
Add vcpu_stat related items to display, include: EXThvc: hvc kvm exit EXTWFE: wfe kvm exit EXTwfi: wfi kvm exit EXTmmioU: mmio User kvm exit EXTmmioK: mmio Kernel kvm exit EXTfp: FP ASIMD kvm exit EXTirq: IRQ kvm exit EXTsys64: SYS64 kvm exit EXTmabt: mem abort kvm exit EXTsum: times of all kvm exit Signed-off-by: NJiajun Chen <1250062498@qq.com>
-
由 nocjj 提交于
Get kvm exits info for vcpu from /sys/kernel/debug/kvm/vcpu_stat. Related openeuler kernel commits: bbb5023b977aa3ec08d142daa63c86e8e4da81ff 5ae004462e253e23690b47692d514705223c0305 167fbfb3d28c267d98064a36c95cee21cdfd2fa7 Signed-off-by: NJiajun Chen <1250062498@qq.com>
-
- 04 9月, 2020 3 次提交
-
-
由 nocjj 提交于
Get threads list from /proc/pid/task, and refresh data for every thread. Display threads info below domain info. Signed-off-by: NJiajun Chen <1250062498@qq.com>
-
由 nocjj 提交于
Calculation formula of CPU usage: cpu_time = (utime_now + stime_now) - (utime_pre + stime_pre); CPU usage = cpu_time / time_interval; Get utime and stime from /proc/qemupid/stat, then we can get cpu_time by calculate variation of these value over time. And time_interval represent cpu time interval between two data acquisition. Signed-off-by: NJiajun Chen <1250062498@qq.com>
-
由 nocjj 提交于
Read /proc/qemupid/stat file to refresh process info, include: parent pid, userspace time, task state and etc. According to these data, add two display itemsi to vmtop: S: task state P: physical processor that task is runnning on Signed-off-by: NJiajun Chen <1250062498@qq.com>
-
- 24 8月, 2020 1 次提交
-
-
由 nocjj 提交于
vmtop is a userspace tool which you can run it in host to help detecting VM's performance. 1. Implement the basic display framework, realize loop display and field filter. Press 'f' to enter field filter mode and press 'q' to quit. 2. Build compiling project by autotools. 3. Add Mulan license for project. Signed-off-by: NJiajun Chen <1250062498@qq.com>
-