s/BenchmarkMeasurement.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 21 Mar 2016 13:15:35 +0100
changeset 314 9ac0be200068
parent 285 0cf54ee76de5
permissions -rw-r--r--
CI: Added CI scripts for Pharo ...to make Jenkins setup easier. To run CalipeL/S tests on Pharo, simply execute: wget -O "ci-pharo-common.sh" https://bitbucket.org/janvrany/jv-calipel/raw/tip/s/pharo/ci/ci-pharo-tests.sh | bash -x To run standard set ob benchmarks on Pharo, run wget -O "ci-pharo-common.sh" https://bitbucket.org/janvrany/jv-calipel/raw/tip/s/pharo/ci/ci-pharo-benchmarks.sh | bash -x

"{ Package: 'jv:calipel/s' }"

"{ NameSpace: Smalltalk }"

Object subclass:#BenchmarkMeasurement
	instanceVariableNames:'value instrument'
	classVariableNames:''
	poolDictionaries:''
	category:'CalipeL-S-Core-Measurement'
!

!BenchmarkMeasurement class methodsFor:'documentation'!

documentation
"
    BenchmarkMeasurement is a simple value object that keeps a value
    measured by some intrument

    [author:]
        Jan Vrany <jan.vrany@fit.cvut.cz>

    [instance variables:]

    [class variables:]

    [see also:]
        BenchmarkMeasurementInstrument

"
! !

!BenchmarkMeasurement class methodsFor:'instance creation'!

instrument: instrumentArg value: valueArg
    ^ self new instrument: instrumentArg value: valueArg

    "Created: / 24-11-2014 / 07:15:05 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !

!BenchmarkMeasurement methodsFor:'accessing'!

instrument
    ^ instrument
!

value
    ^ value
! !

!BenchmarkMeasurement methodsFor:'initialization'!

instrument: instrumentArg value: valueArg
    instrument := instrumentArg.
    value := valueArg

    "Created: / 24-11-2014 / 07:06:37 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !