Skip to content
Snippets Groups Projects
Commit dc1dd442 authored by jcarpent's avatar jcarpent
Browse files

[Bench] Add timings of computeCoriolisMatrix

parent 937111f9
No related branches found
No related tags found
No related merge requests found
//
// Copyright (c) 2015-2016 CNRS
// Copyright (c) 2015-2018 CNRS
//
// This file is part of Pinocchio
// Pinocchio is free software: you can redistribute it
......@@ -195,6 +195,13 @@ int main(int argc, const char ** argv)
emptyForwardPass(model,data);
}
std::cout << "Empty Forward Pass = \t"; timer.toc(std::cout,NBT);
timer.tic();
SMOOTH(NBT)
{
computeCoriolisMatrix(model,data,qs[_smooth],qdots[_smooth]);
}
std::cout << "Coriolis Matrix = \t"; timer.toc(std::cout,NBT);
std::cout << "--" << std::endl;
return 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment