Put_Flavors_SA-master

Directory: SCM
Plat: C/C++
Size: 137KB
Downloads: 0
Upload time: 2020-11-30 10:00:57
Uploader: xuaner1
Description:   The code includes three files: 1. Server. H 2 Server.cpp 3.put_ flavors_ To_ servers.cpp Where server. H and Server.cpp The two files are declaration and definition files of flavor structure and server class. Flavor structure includes three members: name, CPU and MEM, representing the basic attributes of a virtual machine; server class includes members: total memory, total CPU, free memory, idle CPU, method: put_ Flavor (place flavor), get_ cpu_ usage_ Rate (get CPU utilization), get_ mem_ usage_ Rate (get memory usage); put_ flavors_ To_ servers.cpp The file defines put_ flavors_ To_ Servers function is used to find the best way to place virtual machine by simulated annealing algorithm. Main function uses its own definition of some parameters, used to demonstrate the use of the function, for reference only.

File list:
Put_Flavors_SA-master, 0 , 2018-04-17
Put_Flavors_SA-master\Readme.md, 7027 , 2018-04-17
Put_Flavors_SA-master\Server.cpp, 1111 , 2018-04-17
Put_Flavors_SA-master\Server.h, 944 , 2018-04-17
Put_Flavors_SA-master\img, 0 , 2018-04-17
Put_Flavors_SA-master\img\1-1.png, 33763 , 2018-04-17
Put_Flavors_SA-master\img\score1.png, 4517 , 2018-04-17
Put_Flavors_SA-master\img\score2.png, 4564 , 2018-04-17
Put_Flavors_SA-master\img\score3.png, 4366 , 2018-04-17
Put_Flavors_SA-master\img\score4.png, 80792 , 2018-04-17
Put_Flavors_SA-master\img\score5.png, 4450 , 2018-04-17
Put_Flavors_SA-master\img\score6.png, 4259 , 2018-04-17
Put_Flavors_SA-master\put_flavors_to_servers.cpp, 5428 , 2018-04-17

Download users:

Relate files:

Comment: Add Comment

Favorite users: