Fixed bugs in tic-toc statements for Concurrent Filter and Smoother
parent
315223b166
commit
4c6a460fa0
|
@ -634,7 +634,7 @@ void ConcurrentBatchFilter::getSummarizedFactors(NonlinearFactorGraph& summarize
|
||||||
summarizedFactors.push_back(filterSummarization_);
|
summarizedFactors.push_back(filterSummarization_);
|
||||||
rootValues.insert(rootValues_);
|
rootValues.insert(rootValues_);
|
||||||
|
|
||||||
gttic(get_summarized_factors);
|
gttoc(get_summarized_factors);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
@ -646,7 +646,7 @@ void ConcurrentBatchFilter::getSmootherFactors(NonlinearFactorGraph& smootherFac
|
||||||
smootherFactors.push_back(smootherFactors_);
|
smootherFactors.push_back(smootherFactors_);
|
||||||
smootherValues.insert(smootherValues_);
|
smootherValues.insert(smootherValues_);
|
||||||
|
|
||||||
gttic(get_smoother_factors);
|
gttoc(get_smoother_factors);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
|
|
@ -279,7 +279,7 @@ void ConcurrentBatchSmoother::getSummarizedFactors(NonlinearFactorGraph& summari
|
||||||
// Copy the previous calculated smoother summarization factors into the output
|
// Copy the previous calculated smoother summarization factors into the output
|
||||||
summarizedFactors.push_back(smootherSummarization_);
|
summarizedFactors.push_back(smootherSummarization_);
|
||||||
|
|
||||||
gttic(get_summarized_factors);
|
gttoc(get_summarized_factors);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
|
@ -324,7 +324,7 @@ void ConcurrentBatchSmoother::postsync() {
|
||||||
/* ************************************************************************* */
|
/* ************************************************************************* */
|
||||||
size_t ConcurrentBatchSmoother::insertFactor(const NonlinearFactor::shared_ptr& factor) {
|
size_t ConcurrentBatchSmoother::insertFactor(const NonlinearFactor::shared_ptr& factor) {
|
||||||
|
|
||||||
gttic(insert_factor);
|
gttic(insert_factors);
|
||||||
|
|
||||||
// Insert the factor into an existing hole in the factor graph, if possible
|
// Insert the factor into an existing hole in the factor graph, if possible
|
||||||
size_t slot;
|
size_t slot;
|
||||||
|
|
Loading…
Reference in New Issue