vInstruction
            Bases: ABC
Source code in PyCloudSim\entity\v_process.py
              
          content: bytes
  
  
      property
  
  Return the content of the vInstruction.
          length: int
  
  
      property
  
  Return the length of the vInstruction.
vX86Instruction
            Bases: vInstruction
Source code in PyCloudSim\entity\v_process.py
              
            vARMInstruction
            Bases: vInstruction
Source code in PyCloudSim\entity\v_process.py
              
            vProcess
            Bases: VirtualEntity
Source code in PyCloudSim\entity\v_process.py
              | 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 |  | 
          cached: bool
  
  
      property
  
  Return whether the vProcess is cached or not.
          container: vContainer | None
  
  
      property
  
  Return the container of the vProcess.
          container_id: int | None
  
  
      property
  
  Return the container id of the vProcess.
          cpu: vCPU
  
  
      property
  
  Return the cpu of the vProcess.
          cpu_core: vCPUCore
  
  
      property
  
  Return the cpu core of the vProcess.
          cpu_core_id: int
  
  
      property
  
  Return the cpu core id of the vProcess.
          cpu_id: int
  
  
      property
  
  Return the cpu id of the vProcess.
          current_scheduled_length: int
  
  
      property
  
  Return the current scheduled length of the vProcess.
          executing: bool
  
  
      property
  
  Return whether the vProcess is executing or not.
          executing_cores: List[vCPUCore]
  
  
      property
  
  Return the executing cores of the vProcess.
          host: vHost
  
  
      property
  
  Return the host of the vProcess.
          host_id: int
  
  
      property
  
  Return the host id of the vProcess.
          instructions: List[vInstruction]
  
  
      property
  
  Return the instructions of the vProcess.
          length: int
  
  
      property
  
  Return the length of the vProcess.
          priority: Union[int, float]
  
  
      property
  
  Return the priority of the vProcess.
          progress: int
  
  
      property
  
  Return the progress of the vProcess.
          ram_usage: int
  
  
      property
  
  Return the RAM usage of the vProcess.
          remaining: int
  
  
      property
  
  Return the remaining length of the vProcess.
          request: Optional[vRequest]
  
  
      property
  
  Return the request of the vProcess.
          request_id: Optional[int]
  
  
      property
  
  Return the request id of the vProcess.
          __init__(length, priority, request=None, container=None, at=simulation.now, after=None, label=None)
  Create a vProcess.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| length | int | the length in terms of instructions. | required | 
| priority | Union[int, float] | the priority of the vProcess. | required | 
| request | Optional[vRequest] | the request that the vProcess is associated with. Defaults to None. | None | 
| container | Optional[vContainer] | the container that the vProcess is on. Defaults to None. | None | 
| at | Union[int, float, Callable] | same as entity. Defaults to simulation.now. | now | 
| after | Optional[Entity | List[Entity]] | same as entity. Defaults to None. | None | 
| label | Optional[str] | same as entity. Defaults to None. | None | 
Source code in PyCloudSim\entity\v_process.py
            
          complete()
  Complete the vProcess.
Source code in PyCloudSim\entity\v_process.py
            
          crash()
  Crash the vProcess.
Source code in PyCloudSim\entity\v_process.py
            
          creation()
  The creation process of a vProcess.
Source code in PyCloudSim\entity\v_process.py
            
          release_resources()
  Release the resources that the vProcess is holding.
Source code in PyCloudSim\entity\v_process.py
            vDeamonProcess
            Bases: vProcess
Source code in PyCloudSim\entity\v_process.py
              
          container: vContainer
  
  
      property
  
  The container of the vDeamonProcess.
          container_id: int
  
  
      property
  
  The container id of the vDeamonProcess.
          __init__(length, container, at=simulation.now, after=None, label=None)
  Create a vDeamonProcess.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| length | int | the length in terms of instructions. | required | 
| container | vContainer | the cache that the vDeamonProcess is on. | required | 
| at | Union[int, float, Callable] | same as entity. Defaults to simulation.now. | now | 
| after | Optional[Entity | List[Entity]] | same as entity. Defaults to None. | None | 
| label | Optional[str] | same as entity. Defaults to None. | None | 
Source code in PyCloudSim\entity\v_process.py
            
          creation()
  
          termination()
  Termination process of a vDeamonProcess.
vPacketHandler
            Bases: vProcess
Source code in PyCloudSim\entity\v_process.py
              
          host: Union[vHost, vSwitch, vRouter]
  
  
      property
  
  The host that the vPacketHandler is on.
          packet: vPacket
  
  
      property
  
  The associated vPacket.
          packet_id: int
  
  
      property
  
  The id of the associated vPacket.
          __init__(length, packet, host, at=simulation.now, after=None, label=None)
  Create a vPacketHandler.
Parameters:
| Name | Type | Description | Default | 
|---|---|---|---|
| length | int | the length of the vPacketHandler, will be determined by processing delay. | required | 
| packet | vPacket | the assoicated vPacket. | required | 
| host | Union[vHost, vSwitch, vRouter] | the host that the vPacketHandler is on. | required | 
| at | Union[int, float, Callable] | same as entity. Defaults to simulation.now. | now | 
| after | Optional[Entity | List[Entity]] | same as entity. Defaults to None. | None | 
| label | Optional[str] | same as entity. Defaults to None. | None | 
Source code in PyCloudSim\entity\v_process.py
            
          complete()
  Complete the vPacketHandler.
Source code in PyCloudSim\entity\v_process.py
            
          creation()
  
          termination()
  The termination process of a vPacketHandler.