This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Optimizing using grof, interpreting flat profile?


Hi susan_in_california,

What is the compile line for your project?

> I am having a little trouble understanding this line.

It indicates that the copy-constructor for your vector<vector<int>> is
consuming 14.33% of the run time.

That's a lot.  Especially if you've taken care not to copy your
vector-of-vectors-of-ints.  It appears that you missed a case.

Sincerely,
--Eljay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]