PHP 7.4.33
Preview: v8-testing.h Size: 1.05 KB
/usr/include/node/v8-testing.h
// 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_

Directory Contents

Dirs: 2 × Files: 22
Name Size Perms Modified Actions
- drwxr-xr-x 2024-06-12 06:27:35
Edit Download
openssl DIR
- drwxr-xr-x 2024-06-12 06:27:35
Edit Download
18.71 KB lrw-r--r-- 2022-01-10 12:24:33
Edit Download
3.59 KB lrw-r--r-- 2024-06-07 15:17:56
Edit Download
28.13 KB lrw-r--r-- 2022-01-10 12:24:37
Edit Download
4.14 KB lrw-r--r-- 2022-01-10 12:24:37
Edit Download
43.55 KB lrw-r--r-- 2022-01-10 12:24:37
Edit Download
11.41 KB lrw-r--r-- 2022-01-10 12:24:37
Edit Download
1.62 KB lrw-r--r-- 2022-01-10 12:24:37
Edit Download
3.60 KB lrw-r--r-- 2022-01-10 12:24:37
Edit Download
3.78 KB lrw-r--r-- 2022-01-10 12:24:37
Edit Download
3.69 KB lrw-r--r-- 2022-01-10 12:24:37
Edit Download
13.93 KB lrw-r--r-- 2022-01-10 12:24:35
Edit Download
15.09 KB lrw-r--r-- 2022-01-10 12:24:35
Edit Download
32.53 KB lrw-r--r-- 2022-01-10 12:24:35
Edit Download
1.05 KB lrw-r--r-- 2022-01-10 12:24:35
Edit Download
20.17 KB lrw-r--r-- 2022-01-10 12:24:35
Edit Download
648 B lrw-r--r-- 2022-01-10 12:24:35
Edit Download
1.12 KB lrw-r--r-- 2022-01-10 12:24:35
Edit Download
772 B lrw-r--r-- 2022-01-10 12:24:35
Edit Download
1.17 KB lrw-r--r-- 2022-01-10 12:24:35
Edit Download
1.00 KB lrw-r--r-- 2022-01-10 12:24:35
Edit Download
368.97 KB lrw-r--r-- 2022-01-10 12:24:35
Edit Download
14.25 KB lrw-r--r-- 2022-01-10 12:24:35
Edit Download
If ZipArchive is unavailable, a .tar will be created (no compression).