mirror of
https://github.com/subhobhai943/SUB-OS.git
synced 2026-10-25 16:52:29 +00:00
feat: Implement modern Tree directory visualizer, TSC profiler, and VT Art visualizer
- Add dedicated Linux-compatible Tree visualizer with UTF-8/ASCII branch tracking, -L depth filtering, human sizes, and permissions in userland/lazybox/tree.c - Implement Hardware Invariant Timestamp Counter (TSC) calibration and microsecond delay timer in kernel/tsc.c and include/kernel/tsc.h - Add Virtual Terminal color palette, live resource utilization bars, and logo banner in kernel/vt_art.c and include/kernel/vt_art.h - Add LazyBox applets: 'tree', 'tscinfo', and 'vtart' - Update README.md documentation and command matrix
This commit is contained in:
1 parent
1c09408287
commit
d1361aeaf2
9 files changed
+454
-40
No files matched your search
@@ -0,0 +1,15 @@
|
||||
#ifndef _KERNEL_TSC_H
|
||||
#define _KERNEL_TSC_H
|
||||
|
||||
#include <stdint.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
void tsc_init(void);
|
||||
uint64_t tsc_read(void);
|
||||
uint64_t tsc_get_khz(void);
|
||||
uint64_t tsc_to_ns(uint64_t cycles);
|
||||
uint64_t tsc_to_us(uint64_t cycles);
|
||||
void tsc_udelay(uint32_t microseconds);
|
||||
void tsc_dump_info(void);
|
||||
|
||||
#endif // _KERNEL_TSC_H
|
||||
@@ -0,0 +1,10 @@
|
||||
#ifndef _KERNEL_VT_ART_H
|
||||
#define _KERNEL_VT_ART_H
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
void vt_show_palette_256(void);
|
||||
void vt_show_load_bars(uint32_t cpu_percent, uint32_t mem_percent, uint32_t disk_percent);
|
||||
void vt_show_logo_banner(void);
|
||||
|
||||
#endif // _KERNEL_VT_ART_H
|
||||
Reference in new issue
Block a user