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

Side by Side Diff: test/cctest/libsampler/test-sampler.cc

Issue 2125023004: Remove v8- prefix of file name in libsampler. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 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
« no previous file with comments | « src/v8.gyp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 the V8 project 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 // found in the LICENSE file.
4 // Tests of sampler functionalities. 4 // Tests of sampler functionalities.
5 5
6 #include "src/libsampler/v8-sampler.h" 6 #include "src/libsampler/sampler.h"
7 7
8 #include "src/base/platform/platform.h" 8 #include "src/base/platform/platform.h"
9 #include "test/cctest/cctest.h" 9 #include "test/cctest/cctest.h"
10 10
11 11
12 namespace v8 { 12 namespace v8 {
13 namespace sampler { 13 namespace sampler {
14 14
15 namespace { 15 namespace {
16 16
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
132 CompileRun(sampler_test_source); 132 CompileRun(sampler_test_source);
133 v8::Local<v8::Function> function = GetFunction(env.local(), "start"); 133 v8::Local<v8::Function> function = GetFunction(env.local(), "start");
134 134
135 int32_t repeat_count = 100; 135 int32_t repeat_count = 100;
136 v8::Local<v8::Value> args[] = {v8::Integer::New(isolate, repeat_count)}; 136 v8::Local<v8::Value> args[] = {v8::Integer::New(isolate, repeat_count)};
137 RunSampler(env.local(), function, args, arraysize(args), 100, 100); 137 RunSampler(env.local(), function, args, arraysize(args), 100, 100);
138 } 138 }
139 139
140 } // namespace sampler 140 } // namespace sampler
141 } // namespace v8 141 } // namespace v8
OLDNEW
« no previous file with comments | « src/v8.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698