Skip to content

Commit

Permalink
Debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
insertinterestingnamehere committed Sep 18, 2024
1 parent 31ee0b9 commit 85777f2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ osx_m1_task:
./configure --enable-picky --with-scheduler=$QTHREADS_SCHEDULER --with-topology=$QTHREADS_TOPOLOGY
make -j$CIRRUS_CPU
test_script: |
cd test
make tests -j$CIRRUS_CPU
QT_NUM_SHEPHERDS=2 QT_NUM_WORKERS_PER_SHEPHERD=1 ./basics/hello_world
cd ..
gtimeout --foreground 3m make check
freebsd_task:
Expand Down
2 changes: 2 additions & 0 deletions src/alloc/base.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>

/* System Headers */
#if (HAVE_MEMALIGN && HAVE_MALLOC_H)
Expand Down Expand Up @@ -38,6 +39,7 @@ void *qt_internal_aligned_alloc(size_t alloc_size, uint_fast16_t alignment) {
}

void qt_internal_aligned_free(void *ptr, uint_fast16_t alignment) {
printf("alignment: %i\n", (int)alignment);fflush(stdout);
qt_free(ptr);
}

Expand Down

0 comments on commit 85777f2

Please sign in to comment.