s/BenchmarkMeasurement.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Fri, 18 Mar 2016 22:41:49 +0000
changeset 312 c9a8fa71d8fc
parent 285 0cf54ee76de5
permissions -rw-r--r--
Web: Fixed filtering by tags in "Results" page "Results" page not allow for filtering by tags. * If both, configuration and tags are specified, only reports for specified configurations AND with at least one of the specified tags are shown. * If only tags are specified, then all reports on all configurations having at keast one of specified tags are shown. Kudos to Jan Kurs for forcing me to fix this :-)

"{ 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>"
! !