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

Side by Side Diff: runtime/vm/os_fuchsia.cc

Issue 2197773004: Fuchsia: Paralellize VM test wrapper. Update statuses for Fuchsia update (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Address comments Created 4 years, 4 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 | « runtime/bin/run_vm_tests_fuchsia.cc ('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 (c) 2016, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" 5 #include "vm/globals.h"
6 #if defined(TARGET_OS_FUCHSIA) 6 #if defined(TARGET_OS_FUCHSIA)
7 7
8 #include "vm/os.h" 8 #include "vm/os.h"
9 9
10 #include <errno.h> 10 #include <errno.h>
(...skipping 12 matching lines...) Expand all
23 "Generate events symbols for profiling with perf"); 23 "Generate events symbols for profiling with perf");
24 24
25 #endif // !PRODUCT 25 #endif // !PRODUCT
26 26
27 const char* OS::Name() { 27 const char* OS::Name() {
28 return "fuchsia"; 28 return "fuchsia";
29 } 29 }
30 30
31 31
32 intptr_t OS::ProcessId() { 32 intptr_t OS::ProcessId() {
33 UNIMPLEMENTED(); 33 return static_cast<intptr_t>(getpid());
34 return 0;
35 } 34 }
36 35
37 36
38 const char* OS::GetTimeZoneName(int64_t seconds_since_epoch) { 37 const char* OS::GetTimeZoneName(int64_t seconds_since_epoch) {
39 UNIMPLEMENTED(); 38 UNIMPLEMENTED();
40 return ""; 39 return "";
41 } 40 }
42 41
43 42
44 int OS::GetTimeZoneOffsetInSeconds(int64_t seconds_since_epoch) { 43 int OS::GetTimeZoneOffsetInSeconds(int64_t seconds_since_epoch) {
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 } 303 }
305 304
306 305
307 void OS::Exit(int code) { 306 void OS::Exit(int code) {
308 UNIMPLEMENTED(); 307 UNIMPLEMENTED();
309 } 308 }
310 309
311 } // namespace dart 310 } // namespace dart
312 311
313 #endif // defined(TARGET_OS_FUCHSIA) 312 #endif // defined(TARGET_OS_FUCHSIA)
OLDNEW
« no previous file with comments | « runtime/bin/run_vm_tests_fuchsia.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698