Committed by
Gerrit Code Review
IntentPerfCollector Synch issue fix
Change-Id: I7bd56459476dd87e6c29127b4e17366c23416768
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -106,7 +106,7 @@ public class IntentPerfCollector { | ... | @@ -106,7 +106,7 @@ public class IntentPerfCollector { |
106 | /** | 106 | /** |
107 | * Clears all previously accumulated data. | 107 | * Clears all previously accumulated data. |
108 | */ | 108 | */ |
109 | - public void clearSamples() { | 109 | + public synchronized void clearSamples() { |
110 | newestTime = 0; | 110 | newestTime = 0; |
111 | overall = new Sample(0, nodes.length); | 111 | overall = new Sample(0, nodes.length); |
112 | current = new Sample(0, nodes.length); | 112 | current = new Sample(0, nodes.length); | ... | ... |
-
Please register or login to post a comment