Sign in
opensecura
/
3p
/
cheriot-rtos
/
7138b9eef4500945bc00f78b3bff0dedfff2a4a2
/
.
/
benchmarks
/
stack-usage
/
callee.cc
blob: da57abdf29bb024b57969bf4e034137ce547e477 [
file
] [
log
] [
blame
]
#include
"callee.h"
#include
"../timing.h"
int
noop_return
(
size_t
s
)
{
use_stack
(
s
);
return
rdcycle
();
}
int
noop_call
(
int
start
)
{
int
end
=
rdcycle
();
check_stack_zeroed
();
return
end
-
start
;
}