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

Side by Side Diff: components/metrics/call_stack_profile_params.cc

Issue 2927593002: Make stack sampling profiler sample beyond startup. (Closed)
Patch Set: Move sampling params to call_stack_profile_metrics_provider.cc; make some things constexpr to avoid… Created 3 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #include "components/metrics/call_stack_profile_params.h"
6
7 namespace metrics {
8
9 CallStackProfileParams::CallStackProfileParams()
10 : CallStackProfileParams(UNKNOWN_PROCESS, UNKNOWN_THREAD, UNKNOWN) {}
11
12 CallStackProfileParams::CallStackProfileParams(Process process, Thread thread,
13 Trigger trigger)
14 : CallStackProfileParams(process, thread, trigger, MAY_SHUFFLE) {}
15
16 CallStackProfileParams::CallStackProfileParams(Process process, Thread thread,
17 Trigger trigger,
18 SampleOrderingSpec ordering_spec)
19 : process(process), thread(thread), trigger(trigger),
20 ordering_spec(ordering_spec) {}
21
22 } // namespace metrics
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698