Files
SUB-OS/include/kernel/tsc.h
T
subhobhai943 d1361aeaf2 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
2026-08-21 02:19:26 +05:30

16 lines
326 B
C

#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