Add GPU Info to client info tooltip
This commit is contained in:
parent
72aa8f1cc0
commit
959be3da38
1 changed files with 12 additions and 0 deletions
12
index.html
12
index.html
|
@ -590,6 +590,18 @@
|
||||||
tooltip += "Used Threads: " + row.client_status.current_threads;
|
tooltip += "Used Threads: " + row.client_status.current_threads;
|
||||||
tooltip += (row.client_status.hash_factor > 1 ? " [" + row.client_status.hash_factor + "x multi hash mode]" :"");
|
tooltip += (row.client_status.hash_factor > 1 ? " [" + row.client_status.hash_factor + "x multi hash mode]" :"");
|
||||||
tooltip += '\n';
|
tooltip += '\n';
|
||||||
|
|
||||||
|
if (row.client_status.gpu_info_list) {
|
||||||
|
for (var id in row.client_status.gpu_info_list) {
|
||||||
|
tooltip += "GPU #" + row.client_status.gpu_info_list[id].gpu_info.device_idx + ": ";
|
||||||
|
tooltip += row.client_status.gpu_info_list[id].gpu_info.name + ", "
|
||||||
|
tooltip += "intensity: " + row.client_status.gpu_info_list[id].gpu_info.raw_intensity + " ";
|
||||||
|
tooltip += "("+ row.client_status.gpu_info_list[id].gpu_info.work_size + "/" + row.client_status.gpu_info_list[id].gpu_info.max_work_size + "), ";
|
||||||
|
tooltip += "cu: " + row.client_status.gpu_info_list[id].gpu_info.compute_units;
|
||||||
|
tooltip += '\n';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
tooltip += "Client IP: " + row.client_status.external_ip;
|
tooltip += "Client IP: " + row.client_status.external_ip;
|
||||||
tooltip += '\n';
|
tooltip += '\n';
|
||||||
tooltip += "Version: " + row.client_status.version;
|
tooltip += "Version: " + row.client_status.version;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue