Skip to content

Commit

Permalink
spotless apply
Browse files Browse the repository at this point in the history
  • Loading branch information
DanteNiewenhuis committed Sep 10, 2024
1 parent 5d2ff53 commit 6874120
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 24 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,13 +122,20 @@ public class SimTFDevice(
override fun setOffset(now: Long) {}

override fun getSnapshot(): SimWorkload = throw UnsupportedOperationException()

override fun createCheckpointModel() {}

override fun getCheckpointInterval(): Long {return -1;}
override fun getCheckpointInterval(): Long {
return -1
}

override fun getCheckpointDuration(): Long {return -1;}
override fun getCheckpointDuration(): Long {
return -1
}

override fun getCheckpointIntervalScaling(): Double {return -1.0;}
override fun getCheckpointIntervalScaling(): Double {
return -1.0
}

override fun onUpdate(
ctx: FlowStage,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,18 +192,25 @@ class SimMachineTest {
override fun setOffset(now: Long) {}

override fun onStop(ctx: SimMachineContext) {}
override fun makeSnapshot(now: Long) {

override fun makeSnapshot(now: Long) {
}

override fun getSnapshot(): SimWorkload = this

override fun createCheckpointModel() {}

override fun getCheckpointInterval(): Long {return -1;}
override fun getCheckpointInterval(): Long {
return -1
}

override fun getCheckpointDuration(): Long {return -1;}
override fun getCheckpointDuration(): Long {
return -1
}

override fun getCheckpointIntervalScaling(): Double {return -1.0;}
override fun getCheckpointIntervalScaling(): Double {
return -1.0
}
},
)
}
Expand All @@ -230,16 +237,24 @@ class SimMachineTest {
override fun setOffset(now: Long) {}

override fun onStop(ctx: SimMachineContext) {}

override fun makeSnapshot(now: Long) {}

override fun getSnapshot(): SimWorkload = this

override fun createCheckpointModel() {}

override fun getCheckpointInterval(): Long {return -1;}
override fun getCheckpointInterval(): Long {
return -1
}

override fun getCheckpointDuration(): Long {return -1;}
override fun getCheckpointDuration(): Long {
return -1
}

override fun getCheckpointIntervalScaling(): Double {return -1.0;}
override fun getCheckpointIntervalScaling(): Double {
return -1.0
}
},
)
}
Expand All @@ -266,18 +281,25 @@ class SimMachineTest {
override fun setOffset(now: Long) {}

override fun onStop(ctx: SimMachineContext) {}
override fun makeSnapshot(now: Long) {

override fun makeSnapshot(now: Long) {
}

override fun getSnapshot(): SimWorkload = this

override fun createCheckpointModel() {}

override fun getCheckpointInterval(): Long {return -1;}
override fun getCheckpointInterval(): Long {
return -1
}

override fun getCheckpointDuration(): Long {return -1;}
override fun getCheckpointDuration(): Long {
return -1
}

override fun getCheckpointIntervalScaling(): Double {return -1.0;}
override fun getCheckpointIntervalScaling(): Double {
return -1.0
}
},
)

Expand Down Expand Up @@ -314,18 +336,25 @@ class SimMachineTest {
override fun setOffset(now: Long) {}

override fun onStop(ctx: SimMachineContext) {}
override fun makeSnapshot(now: Long) {

override fun makeSnapshot(now: Long) {
}

override fun getSnapshot(): SimWorkload = this

override fun createCheckpointModel() {}

override fun getCheckpointInterval(): Long {return -1;}
override fun getCheckpointInterval(): Long {
return -1
}

override fun getCheckpointDuration(): Long {return -1;}
override fun getCheckpointDuration(): Long {
return -1
}

override fun getCheckpointIntervalScaling(): Double {return -1.0;}
override fun getCheckpointIntervalScaling(): Double {
return -1.0
}
},
)

Expand Down Expand Up @@ -355,16 +384,24 @@ class SimMachineTest {
override fun setOffset(now: Long) {}

override fun onStop(ctx: SimMachineContext) {}

override fun makeSnapshot(now: Long) {}

override fun getSnapshot(): SimWorkload = this

override fun createCheckpointModel() {}

override fun getCheckpointInterval(): Long {return -1;}
override fun getCheckpointInterval(): Long {
return -1
}

override fun getCheckpointDuration(): Long {return -1;}
override fun getCheckpointDuration(): Long {
return -1
}

override fun getCheckpointIntervalScaling(): Double {return -1.0;}
override fun getCheckpointIntervalScaling(): Double {
return -1.0
}
},
)

Expand Down Expand Up @@ -394,16 +431,24 @@ class SimMachineTest {
override fun setOffset(now: Long) {}

override fun onStop(ctx: SimMachineContext) {}

override fun makeSnapshot(now: Long) {}

override fun getSnapshot(): SimWorkload = this

override fun createCheckpointModel() {}

override fun getCheckpointInterval(): Long {return -1;}
override fun getCheckpointInterval(): Long {
return -1
}

override fun getCheckpointDuration(): Long {return -1;}
override fun getCheckpointDuration(): Long {
return -1
}

override fun getCheckpointIntervalScaling(): Double {return -1.0;}
override fun getCheckpointIntervalScaling(): Double {
return -1.0
}
},
)

Expand Down

0 comments on commit 6874120

Please sign in to comment.