Changeset: 712101115907 for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/712101115907
Modified Files:
        gdk/gdk_utils.c
Branch: default
Log Message:

Merge with Dec2025 branch.


diffs (16 lines):

diff --git a/gdk/gdk_utils.c b/gdk/gdk_utils.c
--- a/gdk/gdk_utils.c
+++ b/gdk/gdk_utils.c
@@ -2608,8 +2608,11 @@ GDKprintinfo(void)
 {
        size_t allocated = (size_t) ATOMIC_GET(&GDK_mallocedbytes_estimate);
        size_t vmallocated = (size_t) ATOMIC_GET(&GDK_vm_cursize);
+       char timestamp[20];
 
-       printf("SIGUSR1 info start\n");
+       strftime(timestamp, sizeof(timestamp), "%Y-%m-%d %H:%M:%S",
+                localtime_r(&(time_t){time(NULL)}, &(struct tm){0}));
+       printf("SIGUSR1 info start @ %s\n", timestamp);
        printf("Virtual memory allocated: %zu%s, of which %zu%s with malloc\n",
               vmallocated + allocated, humansize(vmallocated + allocated, 
(char[24]){0}, 24), allocated, humansize(allocated, (char[24]){0}, 24));
 #ifdef WITH_MALLOC
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to