[XRay] [compiler-rt] Refactor rewinding FDR logging.
authorMartin Pelikan <martin.pelikan@gmail.com>
Wed, 12 Apr 2017 05:30:35 +0000 (05:30 +0000)
committerMartin Pelikan <martin.pelikan@gmail.com>
Wed, 12 Apr 2017 05:30:35 +0000 (05:30 +0000)
commit75ed0acf97f9af3d9e0ba781d9ff1de7b914f261
tree69f14d0762561323c43c1ad207b88f7a8de9afab
parent69cdc901f0d2ac3940b197525ff1e582cf448ef4
[XRay] [compiler-rt] Refactor rewinding FDR logging.

Summary:
While there, make the threshold in ticks for the rewind computed only
once and not per function, unify the two versions we had and slightly
reformat bits according to coding standards.

Reviewers: dberris

Subscribers: llvm-commits

Differential Revision: https://reviews.llvm.org/D31971

llvm-svn: 300028
compiler-rt/lib/xray/xray_fdr_logging_impl.h