Skip to content

Update to the CloudSim Plus 9 Processor API (cloudsimplus#595) - #11

Merged
manoelcampos merged 1 commit into
masterfrom
592-core-capacity
Oct 25, 2026
Merged

manoelcampos merged 1 commit into
masterfrom
592-core-capacity

Conversation

@manoelcampos

Copy link
Copy Markdown
Contributor

Updates the project to the CloudSim Plus API changed by cloudsimplus/cloudsimplus#595 (#592), which replaced the List<Pe> of Hosts and VMs with a single Processor.

Changes

Before After
new HostSimple(ram, bw, storage, peList) with a List<Pe> of PeSimple objects new HostSimple(ram, bw, storage, new CoreCapacity(cores, mips))
new VmSimple(mips, pes), new VmSimple(id, mips, pes) new VmSimple(new CoreCapacity(cores, mips)), new VmSimple(id, new CoreCapacity(cores, mips))
host/vm.getPesNumber(), host/vm.getMips() getProcessor().getCores(), getProcessor().getMips()
cloudlet.getPesNumber() cloudlet.getRequiredCores()
*_PES constants *_CORES

Verification

  • mvn clean package passes.
  • MemoryFootprintBenchmark runs: VmSimple 793.7 B, HostSimple 808.7 B, CloudletSimple 216.6 B per object (these sizes include the objects each one creates).

CI needs the 9.0.0-SNAPSHOT with #595 published to the Maven Central snapshots repository.

🤖 Generated with Claude Code

…lus#595)

- Hosts and VMs are created with a CoreCapacity.
- getPesNumber()/getMips() on Hosts and VMs use the machine Processor.
- Cloudlet.getPesNumber() is now getRequiredCores().
- Rename *_PES constants to *_CORES.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@manoelcampos manoelcampos self-assigned this Oct 25, 2026
@manoelcampos manoelcampos changed the title Update to the CloudSim Plus single Processor API (cloudsimplus#595) Update to the CloudSim Plus 9 Processor API (cloudsimplus#595) Oct 25, 2026
@manoelcampos
manoelcampos merged commit 9cd4e1f into master Oct 25, 2026
1 check passed
@manoelcampos
manoelcampos deleted the 592-core-capacity branch October 25, 2026 00:55
manoelcampos added a commit that referenced this pull request Oct 25, 2026
…lus#595) (#11)

- Hosts and VMs are created with a CoreCapacity.
- getPesNumber()/getMips() on Hosts and VMs use the machine Processor.
- Cloudlet.getPesNumber() is now getRequiredCores().
- Rename *_PES constants to *_CORES.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant