DescriptionFix timing of parseFunctions.
The previous implementation was charging about 24% more time that it
should to the function parser. The cause was that the time to "queue" the
parsed functions, and the time to emit the assembled code (again
including "queue" time) was not accounted for. About 15% was going to
queuing costs, and 7% to emitting the ELF file.
This CL adds timing of function translateFunctions, which captures most
of the queueing costs, and timing for each of the major ELF emission
functions (emitELF). This allows the corresponding costs to be better
bucketed, and not charged to the time it takes to parse functions in
bitcode files.
Bug=None
R=jpp@chromium.org, stichnot@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=b6e9b897d9cda26ee4272c041a620195db9beaed
Patch Set 1 #Patch Set 2 : Fix nits. #
Total comments: 6
Patch Set 3 : Fix nits. #
Messages
Total messages: 9 (4 generated)
|