Skip to content

Commit 409e91c

Browse files
committed
version 1.4.0
1 parent 355093d commit 409e91c

File tree

2 files changed

+18
-1
lines changed

2 files changed

+18
-1
lines changed

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,23 @@
22

33
All notable changes to this project will be documented in this file.
44

5+
## [1.4.0] - 2025-12-27
6+
7+
### Added
8+
- Average heartbeat count tracking before crashes/resets.
9+
- Child process isolation using `setsid()` to prevent signal propagation.
10+
11+
### Changed
12+
- Heartbeat timing now uses `CLOCK_MONOTONIC` instead of wall-clock time to prevent issues with NTP adjustments and system clock changes.
13+
- Signal handler variables now use `sig_atomic_t` for safe signal handling.
14+
- CPU statistics use `float` instead of `double` to reduce memory footprint.
15+
- Separated CPU and memory monitoring into independent functions.
16+
17+
### Fixed
18+
- Static buffer in `printDate()` replaced with caller-provided buffer.
19+
- Buffer overflow in stats filename generation.
20+
- Child processes now close inherited file descriptors before exec.
21+
522
## [1.3.0] - 2025-08-24
623

724
### Added

src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ extern char *optarg;
136136
extern int opterr, optind;
137137

138138
#define APPNAME basename(argv[0])
139-
#define VERSION "1.3.0"
139+
#define VERSION "1.4.0"
140140
#define OPTSTR "i:v:t:h"
141141
#define USAGE_FMT "%s -i <file.ini> [-v] [-h] [-t testname]\n"
142142

0 commit comments

Comments
 (0)