Added more print statements for timing
parent
e9804afc07
commit
201b16dabe
|
@ -38,10 +38,12 @@ int main(int argc, char *argv[]) {
|
||||||
tic_("Z 1 order");
|
tic_("Z 1 order");
|
||||||
Ordering::shared_ptr ordering(data.first->orderingCOLAMD(*data.second));
|
Ordering::shared_ptr ordering(data.first->orderingCOLAMD(*data.second));
|
||||||
toc_("Z 1 order");
|
toc_("Z 1 order");
|
||||||
|
tictoc_print_();
|
||||||
|
|
||||||
tic_("Z 2 linearize");
|
tic_("Z 2 linearize");
|
||||||
GaussianFactorGraph::shared_ptr gfg(data.first->linearize(*data.second, *ordering));
|
GaussianFactorGraph::shared_ptr gfg(data.first->linearize(*data.second, *ordering));
|
||||||
toc_("Z 2 linearize");
|
toc_("Z 2 linearize");
|
||||||
|
tictoc_print_();
|
||||||
|
|
||||||
for(size_t trial = 0; trial < 100; ++trial) {
|
for(size_t trial = 0; trial < 100; ++trial) {
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue