OSDN Git Service

Perfprofd: various changes related to config parameters.
authorThan McIntosh <thanm@google.com>
Thu, 21 May 2015 18:44:34 +0000 (14:44 -0400)
committerThan McIntosh <thanm@google.com>
Thu, 28 May 2015 15:43:52 +0000 (11:43 -0400)
commit14d9b4f16be91459e1ab8421fd8f2ec273d05cf3
treedca94ef757ee318828ccad5153fbd47e0bb046df
parent4d31f7f204b2441cb7cc742910d94c2f1054d660
Perfprofd: various changes related to config parameters.

Details:
- turn "max unprocessed profiles" into a configurable parameter.
- use a longer default collection interval
- reread config file on very iteration through the main loop,
  so as to incorporate new parameters written by the upload service

Bug: http://b/19483574
Change-Id: I1ecacbdeccf26f09ddd8387aef0f2587483eb967
(cherry picked from commit f353d8bf370eab2117e6259630f5540f12b361b0)
perfprofd/perfprofdcore.cc
perfprofd/perfprofdcore.h
perfprofd/tests/perfprofd_test.cc