Hello I am doing a project on programming algorithm measurements
how I can know the time of execution from start to finish and RAM consumption of a class made an algorithm in java and file made in c++.
I need to do from the linux shell because the idea is that these results are stored in variables of Ruby on Rails for web viewing. so I can't use any external program unless this gives me the answer in linux terminal