Is it possible?
Say I have some code in PHP:
... some PHP code here
Is there a way such that:
start_point();
... some PHP code here
end_point();
$v = dump_number_of_CPU_instructions();
echo $v;
I am expecting $v to be an integer that gives the number of CPU instructions that the code between start_point() and end_point() compiles into.