Home
last modified time | relevance | path

Searched full:monitor (Results 1 – 25 of 905) sorted by relevance

12345678910>>...37

/third_party/glfw/docs/
Dmonitor.md1 # Monitor guide {#monitor_guide}
5 This guide introduces the monitor related functions of GLFW. For details on
6 a specific function in this category, see the @ref monitor. There are also
16 ## Monitor objects {#monitor_object}
18 A monitor object represents a currently connected monitor and is represented as
20 @ref GLFWmonitor. Monitor objects cannot be created or destroyed by the
24 Each monitor has a current video mode, a list of supported video modes,
26 a gamma ramp. One of the monitors is the primary monitor.
28 The virtual position of a monitor is in
33 To see how GLFW views your monitor setup and its available video modes, run the
[all …]
/third_party/glfw/src/
Dwl_monitor.c52 struct _GLFWmonitor* monitor = userData; in outputHandleGeometry() local
54 monitor->wl.x = x; in outputHandleGeometry()
55 monitor->wl.y = y; in outputHandleGeometry()
56 monitor->widthMM = physicalWidth; in outputHandleGeometry()
57 monitor->heightMM = physicalHeight; in outputHandleGeometry()
59 if (strlen(monitor->name) == 0) in outputHandleGeometry()
60 snprintf(monitor->name, sizeof(monitor->name), "%s %s", make, model); in outputHandleGeometry()
70 struct _GLFWmonitor* monitor = userData; in outputHandleMode() local
80 monitor->modeCount++; in outputHandleMode()
81 monitor->modes = in outputHandleMode()
[all …]
Dmonitor.c65 // Retrieves the available modes for the specified monitor
67 static GLFWbool refreshVideoModes(_GLFWmonitor* monitor) in refreshVideoModes() argument
72 if (monitor->modes) in refreshVideoModes()
75 modes = _glfw.platform.getVideoModes(monitor, &modeCount); in refreshVideoModes()
81 _glfw_free(monitor->modes); in refreshVideoModes()
82 monitor->modes = modes; in refreshVideoModes()
83 monitor->modeCount = modeCount; in refreshVideoModes()
93 // Notifies shared code of a monitor connection or disconnection
95 void _glfwInputMonitor(_GLFWmonitor* monitor, int action, int placement) in _glfwInputMonitor() argument
97 assert(monitor != NULL); in _glfwInputMonitor()
[all …]
Dwin32_monitor.c52 _GLFWmonitor* monitor = (_GLFWmonitor*) data; in monitorCallback() local
53 if (wcscmp(mi.szDevice, monitor->win32.adapterName) == 0) in monitorCallback()
54 monitor->win32.handle = handle; in monitorCallback()
60 // Create monitor from an adapter and (optionally) a display
65 _GLFWmonitor* monitor; in createMonitor() local
98 monitor = _glfwAllocMonitor(name, widthMM, heightMM); in createMonitor()
102 monitor->win32.modesPruned = GLFW_TRUE; in createMonitor()
104 wcscpy(monitor->win32.adapterName, adapter->DeviceName); in createMonitor()
107 monitor->win32.publicAdapterName, in createMonitor()
108 sizeof(monitor->win32.publicAdapterName), in createMonitor()
[all …]
Dnull_monitor.c34 // The the sole (fake) video mode of our (sole) fake monitor
56 _GLFWmonitor* monitor = _glfwAllocMonitor("Null SuperNoop 0", in _glfwPollMonitorsNull() local
59 _glfwInputMonitor(monitor, GLFW_CONNECTED, _GLFW_INSERT_FIRST); in _glfwPollMonitorsNull()
66 void _glfwFreeMonitorNull(_GLFWmonitor* monitor) in _glfwFreeMonitorNull() argument
68 _glfwFreeGammaArrays(&monitor->null.ramp); in _glfwFreeMonitorNull()
71 void _glfwGetMonitorPosNull(_GLFWmonitor* monitor, int* xpos, int* ypos) in _glfwGetMonitorPosNull() argument
79 void _glfwGetMonitorContentScaleNull(_GLFWmonitor* monitor, in _glfwGetMonitorContentScaleNull() argument
88 void _glfwGetMonitorWorkareaNull(_GLFWmonitor* monitor, in _glfwGetMonitorWorkareaNull() argument
104 GLFWvidmode* _glfwGetVideoModesNull(_GLFWmonitor* monitor, int* found) in _glfwGetVideoModesNull() argument
112 GLFWbool _glfwGetVideoModeNull(_GLFWmonitor* monitor, GLFWvidmode* mode) in _glfwGetVideoModeNull() argument
[all …]
Dcocoa_monitor.m358 _GLFWmonitor* monitor = _glfwAllocMonitor(name, size.width, size.height);
359 monitor->ns.displayID = displays[i];
360 monitor->ns.unitNumber = unitNumber;
361 monitor->ns.screen = screen;
367 monitor->ns.fallbackRefreshRate = getFallbackRefreshRate(displays[i]);
370 _glfwInputMonitor(monitor, GLFW_CONNECTED, _GLFW_INSERT_LAST);
385 void _glfwSetVideoModeCocoa(_GLFWmonitor* monitor, const GLFWvidmode* desired)
388 _glfwGetVideoModeCocoa(monitor, &current);
390 const GLFWvidmode* best = _glfwChooseVideoMode(monitor, desired);
394 CFArrayRef modes = CGDisplayCopyAllDisplayModes(monitor->ns.displayID, NULL);
[all …]
Dx11_monitor.c175 _GLFWmonitor* monitor = _glfwAllocMonitor(oi->name, widthMM, heightMM); in _glfwPollMonitorsX11() local
176 monitor->x11.output = sr->outputs[i]; in _glfwPollMonitorsX11()
177 monitor->x11.crtc = oi->crtc; in _glfwPollMonitorsX11()
186 monitor->x11.index = j; in _glfwPollMonitorsX11()
191 if (monitor->x11.output == primary) in _glfwPollMonitorsX11()
196 _glfwInputMonitor(monitor, GLFW_CONNECTED, type); in _glfwPollMonitorsX11()
226 // Set the current video mode for the specified monitor
228 void _glfwSetVideoModeX11(_GLFWmonitor* monitor, const GLFWvidmode* desired) in _glfwSetVideoModeX11() argument
235 const GLFWvidmode* best = _glfwChooseVideoMode(monitor, desired); in _glfwSetVideoModeX11()
236 _glfwGetVideoModeX11(monitor, &current); in _glfwSetVideoModeX11()
[all …]
Dnull_window.c55 _glfwGetVideoModeNull(window->monitor, &mode); in fitToMonitor()
56 _glfwGetMonitorPosNull(window->monitor, in fitToMonitor()
65 _glfwInputMonitorWindow(window->monitor, window); in acquireMonitor()
70 if (window->monitor->window != window) in releaseMonitor()
73 _glfwInputMonitorWindow(window->monitor, NULL); in releaseMonitor()
80 if (window->monitor) in createNativeWindow()
147 if (window->monitor) in _glfwCreateWindowNull()
171 if (window->monitor) in _glfwDestroyWindowNull()
190 _GLFWmonitor* monitor, in _glfwSetWindowMonitorNull() argument
195 if (window->monitor == monitor) in _glfwSetWindowMonitorNull()
[all …]
/third_party/mesa3d/src/gallium/drivers/iris/
Diris_monitor.c201 struct iris_monitor_object *monitor = in iris_create_monitor_object() local
203 if (unlikely(!monitor)) in iris_create_monitor_object()
206 monitor->num_active_counters = num_queries; in iris_create_monitor_object()
207 monitor->active_counters = calloc(num_queries, sizeof(int)); in iris_create_monitor_object()
208 if (unlikely(!monitor->active_counters)) in iris_create_monitor_object()
218 monitor->active_counters[i] = in iris_create_monitor_object()
227 monitor->query = query_obj; in iris_create_monitor_object()
228 monitor->result_size = perf_cfg->queries[group].data_size; in iris_create_monitor_object()
229 monitor->result_buffer = calloc(1, monitor->result_size); in iris_create_monitor_object()
230 if (unlikely(!monitor->result_buffer)) in iris_create_monitor_object()
[all …]
/third_party/mesa3d/src/gallium/drivers/crocus/
Dcrocus_monitor.c200 struct crocus_monitor_object *monitor = in crocus_create_monitor_object() local
202 if (unlikely(!monitor)) in crocus_create_monitor_object()
205 monitor->num_active_counters = num_queries; in crocus_create_monitor_object()
206 monitor->active_counters = calloc(num_queries, sizeof(int)); in crocus_create_monitor_object()
207 if (unlikely(!monitor->active_counters)) in crocus_create_monitor_object()
217 monitor->active_counters[i] = in crocus_create_monitor_object()
226 monitor->query = query_obj; in crocus_create_monitor_object()
227 monitor->result_size = perf_cfg->queries[group].data_size; in crocus_create_monitor_object()
228 monitor->result_buffer = calloc(1, monitor->result_size); in crocus_create_monitor_object()
229 if (unlikely(!monitor->result_buffer)) in crocus_create_monitor_object()
[all …]
/third_party/cJSON/tests/
Dreadme_examples.c60 cJSON *monitor = cJSON_CreateObject(); in create_monitor() local
61 if (monitor == NULL) in create_monitor()
71 /* after creation was successful, immediately add it to the monitor, in create_monitor()
73 cJSON_AddItemToObject(monitor, "name", name); in create_monitor()
80 cJSON_AddItemToObject(monitor, "resolutions", resolutions); in create_monitor()
106 string = cJSON_Print(monitor); in create_monitor()
109 fprintf(stderr, "Failed to print monitor.\n"); in create_monitor()
113 cJSON_Delete(monitor); in create_monitor()
128 cJSON *monitor = cJSON_CreateObject(); in create_monitor_with_helpers() local
130 if (cJSON_AddStringToObject(monitor, "name", "Awesome 4K") == NULL) in create_monitor_with_helpers()
[all …]
/third_party/skia/third_party/externals/opengl-registry/extensions/AMD/
DAMD_performance_monitor.txt104 void SelectPerfMonitorCountersAMD(uint monitor, boolean enable,
108 void BeginPerfMonitorAMD(uint monitor)
110 void EndPerfMonitorAMD(uint monitor)
112 void GetPerfMonitorCounterDataAMD(uint monitor, enum pname, sizei dataSize,
141 A performance monitor consists of a number of hardware and software counters
238 performance monitor object has all counters disabled. The value of the
247 GenPerfMonitors. If a monitor ID in the list <monitors> does not
248 reference a previously generated performance monitor, an INVALID_VALUE
253 void SelectPerfMonitorCountersAMD(uint monitor, boolean enable,
258 as identified by <monitor>. The <enable> argument determines whether the
[all …]
/third_party/openGLES/extensions/AMD/
DAMD_performance_monitor.txt104 void SelectPerfMonitorCountersAMD(uint monitor, boolean enable,
108 void BeginPerfMonitorAMD(uint monitor)
110 void EndPerfMonitorAMD(uint monitor)
112 void GetPerfMonitorCounterDataAMD(uint monitor, enum pname, sizei dataSize,
141 A performance monitor consists of a number of hardware and software counters
238 performance monitor object has all counters disabled. The value of the
247 GenPerfMonitors. If a monitor ID in the list <monitors> does not
248 reference a previously generated performance monitor, an INVALID_VALUE
253 void SelectPerfMonitorCountersAMD(uint monitor, boolean enable,
258 as identified by <monitor>. The <enable> argument determines whether the
[all …]
/third_party/protobuf/java/
Dlinkage_monitor.sh5 echo "Running Linkage Monitor check"
20 # Install the test BOM for Linkage Monitor
21 pushd test/linkage-monitor-check-bom
25 # Linkage Monitor requires the artifacts to be available in local Maven
35 curl -O "https://storage.googleapis.com/cloud-opensource-java-linkage-monitor/linkage-monitor-lates…
37 echo "Running linkage-monitor-latest-all-deps.jar."
39 # The libraries in the BOM would detect incompatible changes via Linkage Monitor
40 java -Xmx2048m -jar linkage-monitor-latest-all-deps.jar \
41 com.google.protobuf.test:linkage-monitor-check-bom
43 echo "Finished running Linkage Monitor check"
/third_party/mindspore/mindspore-src/source/mindspore/ccsrc/minddata/dataset/engine/perf/
Dmonitor.cc16 #include "minddata/dataset/engine/perf/monitor.h"
24 Monitor::Monitor(ProfilingManager *profiling_manager) : Monitor(profiling_manager, GlobalContext::c… in Monitor() function in mindspore::dataset::Monitor
26 Monitor::Monitor(ProfilingManager *profiling_manager, const std::shared_ptr<ConfigManager> &cfg) in Monitor() function in mindspore::dataset::Monitor
33 Monitor::~Monitor() { in ~Monitor()
44 Status Monitor::operator()() { in operator ()()
50 // 1) Monitor Task is not interrupted by TaskManager AND in operator ()()
62 MS_LOG(INFO) << "Monitor Thread terminating..."; in operator ()()
Dmonitor.h34 class Monitor {
36 // Monitor object constructor
37 explicit Monitor(ProfilingManager *profiling_manager);
39 ~Monitor();
41 // Functor for Perf Monitor main loop.
50 Monitor(ProfilingManager *profiling_manager, const std::shared_ptr<ConfigManager> &cfg);
/third_party/mindspore/mindspore-src/source/mindspore/python/mindspore/train/callback/
D_early_stop.py42 Assuming `monitor` is "accuracy", with this, `mode` would be "max" since
50 monitor (str): quantity to be monitored. If evaluation is performed on
53 otherwise the valid monitor is "loss".
54 When monitor is "loss", if train network has multiple outputs,
57 patience (int): `monitor` value is better than history best value over
72 baseline (float): Baseline value for the monitor. When the monitor value shows
82 ValueError: The monitor value is not a scalar.
96 >>> cb = EarlyStopping(monitor="acc", patience=3, verbose=True)
100 def __init__(self, monitor='eval_loss', min_delta=0, patience=0, argument
103 self.monitor = Validator.check_value_type('monitor', monitor, str)
[all …]
D_reduce_lr_on_plateau.py40 Reduce learning rate when the monitor has stopped improving.
51 monitor (str): quantity to be monitored. If evaluation is performed on
54 otherwise the valid monitor is ``"loss"``.
55 When `monitor` is ``"loss"``, if train network has multiple outputs,
59 patience (int): `monitor` value is better than history best value over
80 ValueError: The monitor value is not a scalar.
95 >>> cb = ReduceLROnPlateau(monitor="acc", patience=3, verbose=True)
98 def __init__(self, monitor='eval_loss', factor=0.1, patience=10, verbose=False, argument
101 self.monitor = Validator.check_value_type('monitor', monitor, str)
117 if self.mode == 'min' or (self.mode == 'auto' and self.monitor in _smaller_better_metrics):
[all …]
/third_party/mindspore/mindspore-src/source/docs/api/api_python/train/
Dmindspore.train.EarlyStopping.rst4 .. py:class:: mindspore.train.EarlyStopping(monitor='eval_loss', min_delta=0, patience=0, verbose=F…
8 …假设 `monitor` 是"accuracy",那么,`mode` 将为"max",因为训练的目标是准确率的提高,`model.fit()` 边训练边验证场景下,将记录 `monitor` 的变…
11 …- **monitor** (str) - 监控指标。如果是边训练边推理场景,合法的monitor配置值可以为"loss", "eval_loss"以及实例化 `Model` 时传入的metric…
12 - **min_delta** (float) - `monitor` 指标变化的最小阈值,超过此阈值才视为 `monitor` 的变化。默认值: ``0`` 。
15 … 'max'}` 中的一种,'min'模式下将在指标不再减小时执行早停,'max'模式下将在指标不再增大时执行早停,'auto'模式将根据当前 `monitor` 指标的特点自动设置。默认值: `…
16 …- **baseline** (float) - 模型效果的基线,当前 `monitor` 相对历史最优值变好且好于 `baseline` 时,内部的等待epoch计数器被清零。默认值: ``No…
21 - **ValueError** - 当传入的 `monitor` 返回值不是标量。
Dmindspore.train.ReduceLROnPlateau.rst4 .. py:class:: mindspore.train.ReduceLROnPlateau(monitor='eval_loss', factor=0.1, patience=10, verbo…
6 当 `monitor` 停止改进时降低学习率。
14 …- **monitor** (str) - 监控指标。如果是边训练边推理场景,配置值可以为 ``"loss"`` 、 ``"eval_loss"`` 以及实例化 `Model` 时传入的metri…
18 …max'`` 中的一种,'min'模式下将在指标不再减小时改变学习率,'max'模式下将在指标不再增大时改变学习率,'auto'模式将根据当前 `monitor` 指标的特点自动设置。默认值: `…
19 - **min_delta** (float) - `monitor` 指标变化的最小阈值,超过此阈值才视为 `monitor` 的变化。默认值: ``1e-4`` 。
26 - **ValueError** - 当传入的 `monitor` 返回值不是标量。
/third_party/glfw/tests/
Dmonitors.c2 // Monitor information tool
26 // This test prints monitor and video mode information or verifies video
95 static void list_modes(GLFWmonitor* monitor) in list_modes() argument
101 const GLFWvidmode* mode = glfwGetVideoMode(monitor); in list_modes()
102 const GLFWvidmode* modes = glfwGetVideoModes(monitor, &count); in list_modes()
104 glfwGetMonitorPos(monitor, &x, &y); in list_modes()
105 glfwGetMonitorPhysicalSize(monitor, &width_mm, &height_mm); in list_modes()
106 glfwGetMonitorContentScale(monitor, &xscale, &yscale); in list_modes()
107 glfwGetMonitorWorkarea(monitor, &workarea_x, &workarea_y, &workarea_width, &workarea_height); in list_modes()
110 glfwGetMonitorName(monitor), in list_modes()
[all …]
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/
DVK_EXT_hdr_metadata.txt11 monitor.
44 between 0 and 1 for real colors for the reference monitor.
55 * pname:displayPrimaryRed is the reference monitor's red primary in
57 * pname:displayPrimaryGreen is the reference monitor's green primary in
59 * pname:displayPrimaryBlue is the reference monitor's blue primary in
61 * pname:whitePoint is the reference monitor's white-point in chromaticity
63 * pname:maxLuminance is the maximum luminance of the reference monitor in
65 * pname:minLuminance is the minimum luminance of the reference monitor in
DVK_EXT_hdr_metadata.adoc10 better reproduce colors as seen on the reference monitor.
47 reference monitor's red primary in chromaticity coordinates
49 the reference monitor's green primary in chromaticity coordinates
51 the reference monitor's blue primary in chromaticity coordinates
53 reference monitor's white-point in chromaticity coordinates
54 * pname:maxLuminance is the maximum luminance of the reference monitor in
56 * pname:minLuminance is the minimum luminance of the reference monitor in
82 for real colors for the reference monitor.
/third_party/iptables/iptables/
Dxtables-monitor.8.in1 .TH XTABLES\-MONITOR 8 "" "@PACKAGE_STRING@" "@PACKAGE_STRING@"
3 xtables-monitor \(em show changes to rule set and trace-events
5 \fBxtables\-monitor\fP [\fB\-t\fP] [\fB\-e\fP] [\fB\-4\fP|\fB|\-6\fB]
10 .B xtables-monitor
11 is used to monitor changes to the ruleset or to show rule evaluation events
13 .B xtables-monitor
34 .B xtables-monitor \-\-trace
67 .B xtables-monitor \-\-event
86 .B xtables-monitor
/third_party/typescript/tests/baselines/reference/
DdeclarationEmitMixinPrivateProtected.js16 export class Monitor extends mix(DisposableMixin) { class
55 exports.Monitor = void 0;
68 var Monitor = /** @class */ (function (_super) {
69 __extends(Monitor, _super);
70 function Monitor() { class in Monitor
73 Monitor.prototype._onDispose = function () {
75 return Monitor;
77 exports.Monitor = Monitor;

12345678910>>...37