Path: blob/main/system/lib/wasmfs/fuzzer/parameters.h
6175 views
// Copyright 2021 The Emscripten Authors. All rights reserved.1// Emscripten is available under two separate licenses, the MIT license and the2// University of Illinois/NCSA Open Source License. Both these licenses can be3// found in the LICENSE file.45// This file defines global parameters used in the fuzzer.67#pragma once89namespace wasmfs {10//11// Global var for verbose printing.12//13extern bool VERBOSE;1415//16// ReadWrite Parameters17//18// The number of writer threads.19constexpr uint32_t NUM_WRITERS = 1;2021// The number of reader threads.22constexpr uint32_t NUM_READERS = 20;2324// The size of the character strings written to a file.25constexpr uint32_t FILE_SIZE = 20000000;2627// The number of strings that are written/read.28constexpr uint32_t MAX_WORK = 10;2930// The time interval that a reader or writer thread is active.31constexpr uint32_t DURATION = 100;32} // namespace wasmfs333435