Skip to content

Commit

Permalink
Merge commit '1ce9df6ad6758aa12d25b7c180efc461b1f4fb71'
Browse files Browse the repository at this point in the history
  • Loading branch information
vedderb committed Jul 26, 2024
2 parents 97d181e + 1ce9df6 commit 7518870
Show file tree
Hide file tree
Showing 32 changed files with 115,699 additions and 3 deletions.
5 changes: 4 additions & 1 deletion lispBM/lispBM/include/eval_cps.h
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,10 @@ lbm_value lbm_find_receiver_and_send(lbm_cid cid, lbm_value msg);
* \return 1 on success
*/
int lbm_perform_gc(void);

/** Request that the runtime system performs a garbage collection on its earliers convenience.
* Can be called from any thread and does NOT require that the evaluator is paused.
*/
void lbm_request_gc(void);
#ifdef __cplusplus
}
#endif
Expand Down
11 changes: 9 additions & 2 deletions lispBM/lispBM/include/lbm_version.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,21 @@ extern "C" {
/** LBM major version */
#define LBM_MAJOR_VERSION 0
/** LBM minor version */
#define LBM_MINOR_VERSION 24
#define LBM_MINOR_VERSION 25
/** LBM patch revision */
#define LBM_PATCH_VERSION 0

#define LBM_VERSION_STRING "0.24.0"
#define LBM_VERSION_STRING "0.25.0"


/*! \page changelog Changelog
JUL 23 2024: Version 0.25.0
- Multiple bugfixes.
- Trap function on expressions.
- Reference manual updates.
- New String operations (Thanks Rasmus S)
- Order of writes changed when writing to flash.
APR 28 2024: Version 0.24.0
- Cleaning of lispbm repository. less to maintain.
- Lots of improvements to documentation.
Expand Down
12 changes: 12 additions & 0 deletions lispBM/lispBM/repl/profile.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/bash

src=$1

valgrind --toggle-collect=lbm_run_eval --tool=callgrind --callgrind-out-file=cg.out ./repl --terminate -s $src

gprof2dot -f callgrind cg.out -o cg.dot

dot -Tpdf cg.dot -o cg.pdf

rm cg.out
rm cg.dot
Loading

0 comments on commit 7518870

Please sign in to comment.