Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(337)

Side by Side Diff: client/third_party/infra_libs/ts_mon/common/metric_store.py

Issue 2013943002: Changing license header, again! (Closed) Base URL: git@github.com:luci/luci-py.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # that can be found in the LICENSE file.
4 4
5 import collections 5 import collections
6 import copy 6 import copy
7 import logging 7 import logging
8 import threading 8 import threading
9 import time 9 import time
10 10
11 from infra_libs.ts_mon.common import errors 11 from infra_libs.ts_mon.common import errors
12 12
13 13
(...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 287
288 def reset_for_unittest(self, name=None): 288 def reset_for_unittest(self, name=None):
289 if name is not None: 289 if name is not None:
290 self._reset(name) 290 self._reset(name)
291 else: 291 else:
292 for name in self._values.keys(): 292 for name in self._values.keys():
293 self._reset(name) 293 self._reset(name)
294 294
295 def _reset(self, name): 295 def _reset(self, name):
296 self._values[name] = MetricValues(self, self._start_time(name)) 296 self._values[name] = MetricValues(self, self._start_time(name))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698