summaryrefslogtreecommitdiff
path: root/tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
diff options
context:
space:
mode:
authorJohn Grossman <johngro@google.com>2012-02-05 13:36:33 -0800
committerJohn Grossman <johngro@google.com>2012-02-06 18:02:33 -0800
commit36d372fb6a35c65a441123ef31e14c086b3b4db8 (patch)
tree80a3ae13742451980270540c51f3c55849034c59 /tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp
parent7d6934f3eb30fbcd41e753fa3bec38ed75c30925 (diff)
Explicitly manage common clock client lifetimes.
Change the CCHelper class to be an instanced instead of a static pattern. The CCHelper instances all share an interface to the common clock service and register/unregister a callback handler in response to there being CCHelper instance in the system or not. This brings usage of the CCHelper into like with the new auto-disable functionality of the common time service. For any given process, whenever there are CCHelper instances active, the process will maintain a callback target to the common clock service and will be considered to be an active client. Also change all of the users of the CCHelper interface to manage the lifecycle of their new CCHelper instances. Change-Id: I7c28c5d70d9b07ba7407b4ac706e7e7d7253001b
Diffstat (limited to 'tests/DynamicCodeLoggerIntegrationTests/src/cpp/test_executable.cpp')
0 files changed, 0 insertions, 0 deletions