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

Side by Side Diff: include/v8.h

Issue 24566004: Add an API for additional profile log records (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | src/api.cc » ('j') | test/mjsunit/tools/tickprocessor-test.ignore-unknown » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 4583 matching lines...) Expand 10 before | Expand all | Expand 10 after
4594 */ 4594 */
4595 static void SetJitCodeEventHandler(JitCodeEventOptions options, 4595 static void SetJitCodeEventHandler(JitCodeEventOptions options,
4596 JitCodeEventHandler event_handler); 4596 JitCodeEventHandler event_handler);
4597 4597
4598 // TODO(svenpanne) Really deprecate me when Chrome is fixed. 4598 // TODO(svenpanne) Really deprecate me when Chrome is fixed.
4599 /** Deprecated. Use Isolate::AdjustAmountOfExternalAllocatedMemory instead. */ 4599 /** Deprecated. Use Isolate::AdjustAmountOfExternalAllocatedMemory instead. */
4600 static intptr_t AdjustAmountOfExternalAllocatedMemory( 4600 static intptr_t AdjustAmountOfExternalAllocatedMemory(
4601 intptr_t change_in_bytes); 4601 intptr_t change_in_bytes);
4602 4602
4603 /** 4603 /**
4604 * Add a mark line to the profiler log.
4605 */
yurys 2013/09/27 09:31:37 v8::CpuProfiler may be a better place for this met
4606 static void AddProfilerMark(char* mark);
4607
4608 /**
4604 * Forcefully terminate the current thread of JavaScript execution 4609 * Forcefully terminate the current thread of JavaScript execution
4605 * in the given isolate. If no isolate is provided, the default 4610 * in the given isolate. If no isolate is provided, the default
4606 * isolate is used. 4611 * isolate is used.
4607 * 4612 *
4608 * This method can be used by any thread even if that thread has not 4613 * This method can be used by any thread even if that thread has not
4609 * acquired the V8 lock with a Locker object. 4614 * acquired the V8 lock with a Locker object.
4610 * 4615 *
4611 * \param isolate The isolate in which to terminate the current JS execution. 4616 * \param isolate The isolate in which to terminate the current JS execution.
4612 */ 4617 */
4613 static void TerminateExecution(Isolate* isolate = NULL); 4618 static void TerminateExecution(Isolate* isolate = NULL);
(...skipping 1864 matching lines...) Expand 10 before | Expand all | Expand 10 after
6478 */ 6483 */
6479 6484
6480 6485
6481 } // namespace v8 6486 } // namespace v8
6482 6487
6483 6488
6484 #undef TYPE_CHECK 6489 #undef TYPE_CHECK
6485 6490
6486 6491
6487 #endif // V8_H_ 6492 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/api.cc » ('j') | test/mjsunit/tools/tickprocessor-test.ignore-unknown » ('J')

Powered by Google App Engine
This is Rietveld 408576698