| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "debug.h" | 5 #include "debug.h" |
| 6 #include "sandbox_impl.h" | 6 #include "sandbox_impl.h" |
| 7 | 7 |
| 8 namespace playground { | 8 namespace playground { |
| 9 | 9 |
| 10 int Sandbox::sandbox_getpid() { | 10 int Sandbox::sandbox_getpid() { |
| 11 Debug::syscall(__NR_getpid, "Executing handler"); | 11 long long tm; |
| 12 Debug::syscall(&tm, __NR_getpid, "Executing handler"); |
| 13 Debug::elapsed(tm, __NR_getpid); |
| 12 return pid_; | 14 return pid_; |
| 13 } | 15 } |
| 14 | 16 |
| 15 } // namespace | 17 } // namespace |
| OLD | NEW |