godot/main/performance.cpp

/**************************************************************************/
/*  performance.cpp                                                       */
/**************************************************************************/
/*                         This file is part of:                          */
/*                             GODOT ENGINE                               */
/*                        https://godotengine.org                         */
/**************************************************************************/
/* Copyright (c) 2014-present Godot Engine contributors (see AUTHORS.md). */
/* Copyright (c) 2007-2014 Juan Linietsky, Ariel Manzur.                  */
/*                                                                        */
/* Permission is hereby granted, free of charge, to any person obtaining  */
/* a copy of this software and associated documentation files (the        */
/* "Software"), to deal in the Software without restriction, including    */
/* without limitation the rights to use, copy, modify, merge, publish,    */
/* distribute, sublicense, and/or sell copies of the Software, and to     */
/* permit persons to whom the Software is furnished to do so, subject to  */
/* the following conditions:                                              */
/*                                                                        */
/* The above copyright notice and this permission notice shall be         */
/* included in all copies or substantial portions of the Software.        */
/*                                                                        */
/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,        */
/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF     */
/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */
/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY   */
/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,   */
/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE      */
/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.                 */
/**************************************************************************/

#include "performance.h"

#include "core/os/os.h"
#include "core/variant/typed_array.h"
#include "scene/main/node.h"
#include "scene/main/scene_tree.h"
#include "servers/audio_server.h"
#include "servers/navigation_server_3d.h"
#include "servers/rendering_server.h"

// 2D
#include "servers/physics_server_2d.h"

#ifndef _3D_DISABLED
#include "servers/physics_server_3d.h"
#endif // _3D_DISABLED

Performance *Performance::singleton =;

void Performance::_bind_methods() {}

int Performance::_get_node_count() const {}

String Performance::get_monitor_name(Monitor p_monitor) const {}

double Performance::get_monitor(Monitor p_monitor) const {}

Performance::MonitorType Performance::get_monitor_type(Monitor p_monitor) const {}

void Performance::set_process_time(double p_pt) {}

void Performance::set_physics_process_time(double p_pt) {}

void Performance::set_navigation_process_time(double p_pt) {}

void Performance::add_custom_monitor(const StringName &p_id, const Callable &p_callable, const Vector<Variant> &p_args) {}

void Performance::remove_custom_monitor(const StringName &p_id) {}

bool Performance::has_custom_monitor(const StringName &p_id) {}

Variant Performance::get_custom_monitor(const StringName &p_id) {}

TypedArray<StringName> Performance::get_custom_monitor_names() {}

uint64_t Performance::get_monitor_modification_time() {}

Performance::Performance() {}

Performance::MonitorCall::MonitorCall(Callable p_callable, Vector<Variant> p_arguments) {}

Performance::MonitorCall::MonitorCall() {}

Variant Performance::MonitorCall::call(bool &r_error, String &r_error_message) {}