Server IP : 103.191.208.50 / Your IP : 216.73.216.226 Web Server : LiteSpeed System : Linux orion.herosite.pro 4.18.0-553.53.1.lve.el8.x86_64 #1 SMP Wed May 28 17:01:02 UTC 2025 x86_64 User : celkcksm ( 1031) PHP Version : 5.6.40 Disable Function : show_source, system, shell_exec, passthru, exec MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /opt/bitninja-node-dojo/include/node/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
// Copyright 2010 the V8 project authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef V8_V8_TEST_H_ #define V8_V8_TEST_H_ #include "v8.h" // NOLINT(build/include) /** * Testing support for the V8 JavaScript engine. */ namespace v8 { class V8_EXPORT Testing { public: enum StressType { kStressTypeOpt, kStressTypeDeopt }; /** * Set the type of stressing to do. The default if not set is kStressTypeOpt. */ static void SetStressRunType(StressType type); /** * Get the number of runs of a given test that is required to get the full * stress coverage. */ static int GetStressRuns(); /** * Indicate the number of the run which is about to start. The value of run * should be between 0 and one less than the result from GetStressRuns() */ static void PrepareStressRun(int run); /** * Force deoptimization of all functions. */ static void DeoptimizeAll(Isolate* isolate); }; } // namespace v8 #endif // V8_V8_TEST_H_