From f890dd66f240427d07fbb0a02eb3d28315eb2a38 Mon Sep 17 00:00:00 2001 From: Emilien Lemaire Date: Mon, 4 Sep 2023 11:42:56 +0200 Subject: [PATCH] Edit changelogs --- ChangeLog | 3 +++ cobc/ChangeLog | 11 +++++++++++ cobc/codegen.c | 2 -- libcob/ChangeLog | 6 ++++++ 4 files changed, 20 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index b34676236..de661de40 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +2023-09-04 Emilien Lemaire + + * configure.ac: check for libxlsxwriter 2023-07-28 Simon Sobisch diff --git a/cobc/ChangeLog b/cobc/ChangeLog index 0c5659e71..d6aaf4288 100644 --- a/cobc/ChangeLog +++ b/cobc/ChangeLog @@ -1,3 +1,14 @@ +2023-09-04 Emilien Lemaire + + * parser.y: save the names of the procedures in global variables. + * parser.y: generate `cob_perf_enter` and `cob_perf_exit` calls when + needed + * flag.def: add `-fperf` to enable profiling + * cobc.h: add a `cb_any_list` struct, a linked list with `void*` type data + and global variables of this type, used for profiling + * typeck.c (emit_stop_run): add a call to `cob_perf_end` before the call + to `cob_stop_run` + * codegen.c: handle profiling code generation 2023-07-26 Simon Sobisch diff --git a/cobc/codegen.c b/cobc/codegen.c index 480f1c8cf..7fad01573 100644 --- a/cobc/codegen.c +++ b/cobc/codegen.c @@ -71,8 +71,6 @@ #define COB_INSIDE_SIZE 64 -#define cb_flag_prof 1 - /* Type of initialization to be done */ enum cobc_init_type { INITIALIZE_NONE = 0, /* no init (beause of FILLER, REDEFINES, ...) */ diff --git a/libcob/ChangeLog b/libcob/ChangeLog index c47fc3186..3b9958837 100644 --- a/libcob/ChangeLog +++ b/libcob/ChangeLog @@ -1,3 +1,9 @@ +2023-09-04 Emilien Lemaire + + * Makefile.am: add `cobperf.c` and `cobperf.h` in sources and headers + * cobperf.c, cobperf.h: implement profiling functions (time spent in each + procedure of the program) + * common.c: include `cobperf.h` 2023-07-28 Simon Sobisch