This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Timer consuming measure in debugging

Tags: None
(comma "," separated)
dchen
Registered Member
Posts
13
Karma
0

Timer consuming measure in debugging

Mon Aug 31, 2015 12:04 am
Hi all:

I am trying optimize my code. I use the gprof to measure function call time consuming. The most consuming part is

Eigen::Matrix<double, -1, -1, 0, -1, -1>& Eigen::DenseBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> >::lazyAssign<Eigen::Matrix<double, -1, -1, 0, -1, -1> >(Eigen::DenseBase<Eigen::Matrix<double, -1, -1, 0, -1, -1> > const&)

I don't understand what does this mean. Could anyone explain to me? Thank you.

Best.
User avatar
ggael
Moderator
Posts
3447
Karma
19
OS
This corresponds to a matrix to matrix assignment, like:

MatrixXd A, B;
A = B;
dchen
Registered Member
Posts
13
Karma
0
Thanks.
qiang
Registered Member
Posts
3
Karma
0
Hi,

I'm running into the same question with you, how do you optimize the assignment ?

Thanks.
dchen
Registered Member
Posts
13
Karma
0
I use some global variables instead.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], q.ignora, watchstar