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

Side by Side Diff: include/v8.h

Issue 1028163003: Remove calls to IdleNotification() (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 9 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 | « no previous file | src/d8.cc » ('j') | no next file with comments »
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 // 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 /** \mainpage V8 API Reference Guide 5 /** \mainpage V8 API Reference Guide
6 * 6 *
7 * V8 is Google's open source JavaScript engine. 7 * V8 is Google's open source JavaScript engine.
8 * 8 *
9 * This set of documents provides reference material generated from the 9 * This set of documents provides reference material generated from the
10 * V8 header file, include/v8.h. 10 * V8 header file, include/v8.h.
(...skipping 5422 matching lines...) Expand 10 before | Expand all | Expand 10 after
5433 /** 5433 /**
5434 * Optional notification that the embedder is idle. 5434 * Optional notification that the embedder is idle.
5435 * V8 uses the notification to perform garbage collection. 5435 * V8 uses the notification to perform garbage collection.
5436 * This call can be used repeatedly if the embedder remains idle. 5436 * This call can be used repeatedly if the embedder remains idle.
5437 * Returns true if the embedder should stop calling IdleNotification 5437 * Returns true if the embedder should stop calling IdleNotification
5438 * until real work has been done. This indicates that V8 has done 5438 * until real work has been done. This indicates that V8 has done
5439 * as much cleanup as it will be able to do. 5439 * as much cleanup as it will be able to do.
5440 * 5440 *
5441 * The idle_time_in_ms argument specifies the time V8 has to perform 5441 * The idle_time_in_ms argument specifies the time V8 has to perform
5442 * garbage collection. There is no guarantee that the actual work will be 5442 * garbage collection. There is no guarantee that the actual work will be
5443 * done within the time limit. 5443 * done within the time limit. This variant is deprecated and will be removed
5444 * in the future.
5445 *
5444 * The deadline_in_seconds argument specifies the deadline V8 has to finish 5446 * The deadline_in_seconds argument specifies the deadline V8 has to finish
5445 * garbage collection work. deadline_in_seconds is compared with 5447 * garbage collection work. deadline_in_seconds is compared with
5446 * MonotonicallyIncreasingTime() and should be based on the same timebase as 5448 * MonotonicallyIncreasingTime() and should be based on the same timebase as
5447 * that function. There is no guarantee that the actual work will be done 5449 * that function. There is no guarantee that the actual work will be done
5448 * within the time limit. 5450 * within the time limit.
5449 */ 5451 */
5450 bool IdleNotification(int idle_time_in_ms); 5452 bool IdleNotification(int idle_time_in_ms);
5451 bool IdleNotificationDeadline(double deadline_in_seconds); 5453 bool IdleNotificationDeadline(double deadline_in_seconds);
5452 5454
5453 /** 5455 /**
(...skipping 2522 matching lines...) Expand 10 before | Expand all | Expand 10 after
7976 */ 7978 */
7977 7979
7978 7980
7979 } // namespace v8 7981 } // namespace v8
7980 7982
7981 7983
7982 #undef TYPE_CHECK 7984 #undef TYPE_CHECK
7983 7985
7984 7986
7985 #endif // V8_H_ 7987 #endif // V8_H_
OLDNEW
« no previous file with comments | « no previous file | src/d8.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698