Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:lenovo-lico:lico-dep:5.1:el7
ganglia-web-gpu-module
gpu_common.php
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gpu_common.php of Package ganglia-web-gpu-module
<?php /* Calculate range and modulus value for dot structured graph */ function calculate_mod_range($range_str) { switch($range_str) { case "hour": $range = 30;break; case "2hr": $range = 60;break; case "4hr": $range = 120;break; case "day": $range = 720;break; case "week": $range = 3600;break; case "month": $range = 6000;break; case "year": $range = 50000;break; default: $range = 30; } $mod = $range/3; return array($range, $mod); }
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor