Add GPU Info to client info tooltip

This commit is contained in:
BenDr0id 2018-08-15 08:44:45 +02:00
parent 72aa8f1cc0
commit 959be3da38

View file

@ -590,6 +590,18 @@
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 += '\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 += '\n';
tooltip += "Version: " + row.client_status.version;